aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css/modules/flexcontainer.css
blob: 0b559f1e7d32e3bb71a73842ac7e4487ef9c6565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* 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;
  }
}