mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-08 18:04:14 +01:00
Enable fluid page layout on medium size viewports (#21178)
Fomantic has abrupt breakpoints at 991px and 768px which leads to variable amounts of wasted screen space below those breakpoints. Instead, enable fluid width for all viewport sizes below 1200px.
This commit is contained in:
parent
c5e88fb03d
commit
d0e3c53815
1 changed files with 7 additions and 0 deletions
|
@ -737,6 +737,13 @@ a.ui.card:hover,
|
|||
padding-bottom: 80px;
|
||||
}
|
||||
|
||||
/* enable fluid page widths for medium size viewports */
|
||||
@media @mediaMdAndUp and @mediaLgAndDown {
|
||||
.ui.ui.ui.container:not(.fluid) {
|
||||
width: calc(100vw - 3em);
|
||||
}
|
||||
}
|
||||
|
||||
.following.bar {
|
||||
z-index: 900;
|
||||
left: 0;
|
||||
|
|
Loading…
Reference in a new issue