Skip to content

Commit 65ca22f

Browse files
committed
style: Prevents vertical spacing in course index. course-id stacks above content
1 parent 8d5d635 commit 65ca22f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

_sass/_base.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ sub {
164164
@include align-middle();
165165
font-family: var(--font-special);
166166
flex-direction: column;
167+
z-index: 100;
167168
a {
168169
color: var(--color-theme);
169170
display: flex;

_sass/_tab-main.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,11 @@
7070
padding: 10px;
7171
overflow: hidden;
7272
text-align: left;
73-
display: flex;
74-
flex-direction: column;
75-
justify-content: space-between;
73+
&:not(.limit-height) {
74+
display: flex;
75+
flex-direction: column;
76+
justify-content: space-between;
77+
}
7678
&.limit-height {
7779
max-height: var(--grid-body-height);
7880
overflow-y: auto;

0 commit comments

Comments
 (0)