mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/16319] Use calc for postbody width
PHPBB3-16319
This commit is contained in:
parent
c90e562367
commit
74eefdb4f1
1 changed files with 4 additions and 8 deletions
|
@ -552,22 +552,18 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media (min-width: 700px) {
|
||||
.postbody { width: 70%; }
|
||||
}
|
||||
|
||||
@media (min-width: 701px) and (max-width: 850px) {
|
||||
@media (min-width: 701px) {
|
||||
.postbody {
|
||||
width: 76%;
|
||||
/** deduct postprofile width (including border width, margin and padding) */
|
||||
width: calc(100% - 200px - 1px);
|
||||
}
|
||||
|
||||
.postprofile {
|
||||
width: 22%;
|
||||
width: 200px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 701px) and (max-width: 950px) {
|
||||
|
||||
ul.topiclist dt {
|
||||
margin-right: -410px;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue