Skip to content

Commit 59256b7

Browse files
committed
fix
1 parent 319d03f commit 59256b7

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

web_src/css/features/projects.css

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
.project-header {
1212
padding: 0.5em 0;
13-
overflow-x: auto; /* in fullscreen mode, the position is fixed, so we can't use "flex wrap" which would change the height */
13+
flex-wrap: wrap;
1414
}
1515

1616
.project-header h2 {
@@ -101,17 +101,14 @@
101101
opacity: 0;
102102
}
103103

104-
.fullscreen.projects-view .project-header {
105-
position: fixed;
106-
z-index: 1000;
104+
.fullscreen.projects-view {
105+
position: absolute;
107106
top: 0;
108107
left: 0;
109108
right: 0;
110-
padding: 0.5em;
111-
width: 100%;
112-
max-width: 100%;
113-
background-color: var(--color-body);
114-
border-bottom: 1px solid var(--color-secondary);
109+
bottom: 0;
110+
display: flex;
111+
flex-direction: column;
115112
}
116113

117114
/* Hide project-description in full-screen due to its variable height. No need to show it for better space use. */
@@ -120,9 +117,7 @@
120117
}
121118

122119
.fullscreen.projects-view #project-board {
123-
position: absolute;
124-
top: 60px;
125-
left: 0;
126-
right: 0;
127-
max-height: calc(100vh - 70px);
120+
flex: 1;
121+
max-height: unset;
122+
padding-bottom: 0.5em;
128123
}

0 commit comments

Comments
 (0)