mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 11:58:25 -04:00
Rewrite media queries to be mobile-first
Also adds height: 100% which forces the SVG to scale, rather than just setting width which widens the viewbox.
This commit is contained in:
@@ -26,13 +26,15 @@
|
|||||||
|
|
||||||
.webauthn-illustration {
|
.webauthn-illustration {
|
||||||
|
|
||||||
@include media-down(mobile) {
|
@include govuk-media-query($from: tablet) {
|
||||||
box-sizing: border-box;
|
margin: govuk-spacing(9) auto 0 auto;
|
||||||
margin: govuk-spacing(6) auto 0 auto;
|
padding: 0;
|
||||||
padding: 0 govuk-spacing(9) 0 govuk-spacing(9);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
box-sizing: border-box;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: govuk-spacing(9) auto 0 auto;
|
height: 100%;
|
||||||
|
margin: govuk-spacing(6) auto 0 auto;
|
||||||
|
padding: 0 govuk-spacing(9) 0 govuk-spacing(9);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user