Skip to content

Commit

Permalink
Add support for responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
Quy committed Feb 28, 2019
1 parent 8105101 commit e57097d
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions style/Air/base_admin.css
Expand Up @@ -175,3 +175,39 @@
.plugin p { .plugin p {
padding: 12px 18px 0; padding: 12px 18px 0;
} }

/* Responsive
----------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
#punadmin.pun textarea {
width: 100%;
}
}

@media only screen and (max-width: 960px) {
#punadmin.pun input[size="50"], #punadmin.pun input[size="45"], #punadmin.pun input[size="40"], #punadmin.pun select[name*="timezone"] {
width: 100%;
}
}

@media only screen and (max-width: 800px) {
#adminconsole fieldset th {
width: 10em;
}
}

@media only screen and (max-width: 480px) {
#punadmin.pun input[size="25"], #punadmin.pun input[size="30"], #punadmin.pun input[size="35"] {
width: 100%;
}

#punadmin.pun input[size="24"] {
width: 9em;
}
}

@media only screen and (max-width: 400px) {
#punadmin.pun input[size], #punadmin.pun select {
width: 100%;
}
}

0 comments on commit e57097d

Please sign in to comment.