mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 08:47:42 -05:00
c39e9cd9a9
Backport #28603 by wxiaoguang
Fix #28489
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 5b104a5533
)
24 lines
450 B
CSS
24 lines
450 B
CSS
/* container for full-page content with sidebar on left */
|
|
|
|
.flex-container {
|
|
display: flex !important;
|
|
gap: 16px;
|
|
}
|
|
|
|
.flex-container-nav {
|
|
width: 240px;
|
|
}
|
|
|
|
.flex-container-main {
|
|
flex: 1;
|
|
min-width: 0; /* make the "text truncate" work, otherwise the flex axis is not limited and the text just overflows */
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.flex-container {
|
|
flex-direction: column;
|
|
}
|
|
.flex-container-nav {
|
|
width: auto;
|
|
}
|
|
}
|