mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-27 19:01:14 -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 {
|
||||
|
||||
@include media-down(mobile) {
|
||||
box-sizing: border-box;
|
||||
margin: govuk-spacing(6) auto 0 auto;
|
||||
padding: 0 govuk-spacing(9) 0 govuk-spacing(9);
|
||||
@include govuk-media-query($from: tablet) {
|
||||
margin: govuk-spacing(9) auto 0 auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
box-sizing: border-box;
|
||||
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