Skip to content

Commit 748d670

Browse files
authored
Merge pull request #3919 from raspberrypi/full-width-cookie-banner-buttons
Use full-width buttons on banner on narrow screens
2 parents 1bfab85 + a93c83f commit 748d670

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

jekyll-assets/_includes/header.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,12 @@
316316
#__rptl-cookiebanner .__rptl-cookiebanner-buttons {
317317
display: flex;
318318
gap: 10px;
319+
flex-direction: column;
320+
}
321+
@media (min-width: 640px) {
322+
#__rptl-cookiebanner .__rptl-cookiebanner-buttons {
323+
flex-direction: row;
324+
}
319325
}
320326
#__rptl-cookiebanner .__rptl-cookiebanner-accept, #__rptl-cookiebanner .__rptl-cookiebanner-reject {
321327
margin: 0;

0 commit comments

Comments
 (0)