mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 05:20:56 +02:00
[ticket/16319] Use calc for postbody width
PHPBB3-16319
This commit is contained in:
@@ -552,22 +552,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 700px) {
|
@media (min-width: 701px) {
|
||||||
.postbody { width: 70%; }
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 701px) and (max-width: 850px) {
|
|
||||||
.postbody {
|
.postbody {
|
||||||
width: 76%;
|
/** deduct postprofile width (including border width, margin and padding) */
|
||||||
|
width: calc(100% - 200px - 1px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.postprofile {
|
.postprofile {
|
||||||
width: 22%;
|
width: 200px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 701px) and (max-width: 950px) {
|
@media (min-width: 701px) and (max-width: 950px) {
|
||||||
|
|
||||||
ul.topiclist dt {
|
ul.topiclist dt {
|
||||||
margin-right: -410px;
|
margin-right: -410px;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user