Update banner for small screens.
This commit is contained in:
@@ -16,6 +16,12 @@
|
|||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
transition: opacity 0.5s ease;
|
transition: opacity 0.5s ease;
|
||||||
|
|
||||||
|
@media (max-width: 420px) {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: stretch;
|
||||||
|
gap: 0.75rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#cookie-banner.fade-out {
|
#cookie-banner.fade-out {
|
||||||
@@ -23,7 +29,25 @@
|
|||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cookie-banner p { margin: 0; font-size: 14px; flex: 1; }
|
#cookie-banner p {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 14px;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cookie-banner .cookie-buttons {
|
||||||
|
display: flex;
|
||||||
|
gap: 0.5rem;
|
||||||
|
flex-shrink: 0;
|
||||||
|
|
||||||
|
@media (max-width: 420px) {
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
button {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#cookie-banner button {
|
#cookie-banner button {
|
||||||
margin: 0.1rem 0;
|
margin: 0.1rem 0;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
{{ i18n "cookie_more_info" }}
|
{{ i18n "cookie_more_info" }}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<div>
|
<div class="cookie-buttons">
|
||||||
<button id="cookie-accept">
|
<button id="cookie-accept">
|
||||||
{{ i18n "cookie_button_accept" }}
|
{{ i18n "cookie_button_accept" }}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user