Skip to content

Commit 56811a2

Browse files
fix: layout overflow in Course Not Found page (#4099)
* fix: layout overflow in Course Not Found page * style: fix linting issues
1 parent bd2060b commit 56811a2

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

website/src/views/errors/ErrorPage.scss

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,16 @@
3939
.buttons {
4040
display: flex;
4141
flex-direction: column;
42+
flex-wrap: wrap;
4243
margin-bottom: 2rem;
43-
44-
:global(.btn) {
45-
margin-bottom: 0.8rem;
46-
}
44+
gap: 0.8rem 1rem;
4745

4846
@include media-breakpoint-up(sm) {
4947
flex-direction: row;
5048
justify-content: center;
5149

5250
:global(.btn) {
53-
margin-right: 1em;
54-
margin-bottom: 0;
55-
}
56-
57-
:global(.btn):last-child {
58-
margin-right: 0;
51+
min-width: 12rem;
5952
}
6053
}
6154
}

0 commit comments

Comments
 (0)