Skip to content

Commit 5025717

Browse files
committed
fix
1 parent b553c70 commit 5025717

File tree

1 file changed

+20
-31
lines changed

1 file changed

+20
-31
lines changed

web_src/css/features/projects.css

Lines changed: 20 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,24 @@
1-
.board {
1+
#project-board {
22
display: flex;
3+
align-items: stretch;
34
flex-direction: row;
45
flex-wrap: nowrap;
5-
overflow-x: auto;
6-
overflow-y: clip;
7-
align-items: stretch;
6+
overflow: auto;
87
margin: 0 0.5em;
8+
max-height: calc(100vh - 120px);
99
}
1010

1111
.project-column {
12-
background-color: var(--color-project-column-bg) !important;
13-
border: 1px solid var(--color-secondary) !important;
14-
border-radius: var(--border-radius);
15-
margin: 0 0.5rem !important;
16-
padding: 0.5rem !important;
17-
width: 320px;
18-
height: initial;
19-
min-height: max(calc(100vh - 400px), 300px);
2012
flex: 0 0 auto;
21-
overflow: visible;
2213
display: flex;
2314
flex-direction: column;
24-
cursor: default;
25-
}
26-
27-
.project-column .issue-card {
28-
color: var(--color-text);
15+
background-color: var(--color-project-column-bg);
16+
border: 1px solid var(--color-secondary);
17+
border-radius: var(--border-radius);
18+
margin: 0 0.5rem;
19+
padding: 0.5rem;
20+
width: 320px;
21+
overflow: visible;
2922
}
3023

3124
.project-column-header {
@@ -39,16 +32,15 @@
3932
color: inherit;
4033
}
4134

42-
.project-column > .cards {
35+
.project-column > .ui.cards {
4336
flex: 1;
4437
display: flex;
45-
align-content: baseline;
46-
margin: 0 !important;
47-
padding: 0 !important;
48-
flex-wrap: nowrap !important;
38+
flex-wrap: nowrap;
4939
flex-direction: column;
50-
overflow-x: clip;
40+
overflow: clip auto;
5141
gap: .25rem;
42+
margin: 0;
43+
padding: 0;
5244
}
5345

5446
.project-column > .divider {
@@ -110,21 +102,18 @@
110102
width: 100%;
111103
max-width: 100%;
112104
background-color: var(--color-body);
105+
border-bottom: 1px solid var(--color-secondary);
113106
}
114107

115108
/* Hide project-description in full-screen due to its variable height. No need to show it for better space use. */
116109
.fullscreen.projects-view .project-description {
117110
display: none;
118111
}
119112

120-
.fullscreen #project-board {
113+
.fullscreen.projects-view #project-board {
121114
position: absolute;
122-
top: 50px;
115+
top: 60px;
123116
left: 0;
124117
right: 0;
125-
max-height: calc(100vh - 50px);
126-
}
127-
128-
.fullscreen #project-board .project-column .ui.cards {
129-
overflow-y: auto;
118+
max-height: calc(100vh - 70px);
130119
}

0 commit comments

Comments
 (0)