nowarp fix

This commit is contained in:
Unknwon 2014-08-07 00:15:39 -04:00
parent a8e05fdf1b
commit 99eeb08419
2 changed files with 40 additions and 13 deletions

View File

@ -1155,21 +1155,37 @@ The register and sign-in page style
#repo-create-cancel { #repo-create-cancel {
margin-left: 4em; margin-left: 4em;
} }
#dashboard-switch-menu,
#repo-create-owner-list { #repo-create-owner-list {
top: 30px; top: 30px;
left: 0; left: 0;
width: auto;
max-width: 300px;
} }
#dashboard-switch-menu .octicon,
#repo-create-owner-list .octicon { #repo-create-owner-list .octicon {
margin-right: 12px; margin-right: 12px;
opacity: 0; opacity: 0;
} }
#dashboard-switch-menu .avatar,
#repo-create-owner-list .avatar { #repo-create-owner-list .avatar {
width: 20px; width: 20px;
height: 20px; height: 20px;
} }
#dashboard-switch-menu li,
#repo-create-owner-list li {
white-space: nowrap;
}
#dashboard-switch-menu li.checked .octicon,
#repo-create-owner-list li.checked .octicon { #repo-create-owner-list li.checked .octicon {
opacity: 1; opacity: 1;
} }
#dashboard-switch-menu li a,
#repo-create-owner-list li a {
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
overflow: hidden;
}
.file-name { .file-name {
margin-left: 1em; margin-left: 1em;
} }

View File

@ -357,22 +357,33 @@
margin-left: 4em; margin-left: 4em;
} }
#dashboard-switch-menu,
#repo-create-owner-list { #repo-create-owner-list {
top: 30px;
left: 0;
width: auto;
max-width: 300px;
.octicon { .octicon {
margin-right: 12px; margin-right: 12px;
opacity: 0; opacity: 0;
} }
top: 30px;
left: 0;
.avatar { .avatar {
width: 20px; width: 20px;
height: 20px; height: 20px;
} }
li.checked { li {
white-space: nowrap;
&.checked {
.octicon { .octicon {
opacity: 1; opacity: 1;
} }
} }
a {
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
overflow: hidden;
}
}
} }
.file-name { .file-name {
margin-left: 1em; margin-left: 1em;