Skip to content

Commit bf338bb

Browse files
authored
Fix project board view (#34470)
Fix #34469
1 parent 319d03f commit bf338bb

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

web_src/css/features/projects.css

Lines changed: 9 additions & 17 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,11 @@
101101
opacity: 0;
102102
}
103103

104-
.fullscreen.projects-view .project-header {
105-
position: fixed;
106-
z-index: 1000;
107-
top: 0;
108-
left: 0;
109-
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);
104+
.fullscreen.projects-view {
105+
position: absolute;
106+
inset: 0;
107+
display: flex;
108+
flex-direction: column;
115109
}
116110

117111
/* Hide project-description in full-screen due to its variable height. No need to show it for better space use. */
@@ -120,9 +114,7 @@
120114
}
121115

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

0 commit comments

Comments
 (0)