1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-07 14:16:47 +02:00

improve icon display on narrow devices

This commit is contained in:
Mark Otto
2013-12-07 16:28:29 -08:00
parent 5e6f9b9a37
commit 5fdd917918
2 changed files with 815 additions and 807 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1029,19 +1029,20 @@ h1[id] {
*/ */
.bs-glyphicons { .bs-glyphicons {
padding-left: 0; margin: 0 -19px 20px -16px;
padding-bottom: 1px;
margin-bottom: 20px;
list-style: none;
overflow: hidden; overflow: hidden;
} }
.bs-glyphicons-list {
padding-left: 0;
list-style: none;
}
.bs-glyphicons li { .bs-glyphicons li {
float: left; float: left;
width: 25%; width: 25%;
height: 115px; height: 115px;
padding: 10px; padding: 10px;
margin: 0 -1px -1px 0; margin: 0 -1px -1px 0;
font-size: 12px; font-size: 10px;
line-height: 1.4; line-height: 1.4;
text-align: center; text-align: center;
border: 1px solid #ddd; border: 1px solid #ddd;
@@ -1061,8 +1062,13 @@ h1[id] {
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.bs-glyphicons {
margin-left: 0;
margin-right: 0;
}
.bs-glyphicons li { .bs-glyphicons li {
width: 12.5%; width: 12.5%;
font-size: 12px;
} }
} }