Skip to content

Commit 021f8e7

Browse files
committed
Adjust cookie banner mobile styles
1 parent 8695854 commit 021f8e7

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

web/src/components/CookieConsentBanner.module.css

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,25 @@
44
border-radius: var(--custom-border-radius-md);
55
padding: 16px;
66
box-shadow: var(--custom-shadow-lw);
7-
max-width: 380px;
87
position: fixed;
9-
right: 20px;
10-
bottom: 20px;
11-
left: auto;
8+
left: 10px;
9+
bottom: 10px;
10+
right: 10px;
1211
width: auto;
1312
display: flex;
1413
flex-direction: column;
1514
align-items: stretch;
1615
}
1716

17+
@media (min-width: 40rem) {
18+
.container {
19+
max-width: 380px;
20+
right: 20px;
21+
bottom: 20px;
22+
left: auto;
23+
}
24+
}
25+
1826
.content {
1927
color: var(--ifm-font-color-base);
2028
font-size: 14px;

0 commit comments

Comments
 (0)