mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-01 12:19:47 -04:00
Tweak template-list items on mobile
The font-size goes down to 16px on mobile. This changes the line-height too which makes it too small. This bumps it back up the be the same as on desktop which makes space for the icon (if a folder) and gives the link more space. Also reduces the horizontal space between the icon and its link by the same amount the font-size changes.
This commit is contained in:
@@ -152,18 +152,25 @@ $message-type-bottom-spacing: govuk-spacing(4);
|
||||
|
||||
&-folder,
|
||||
&-template {
|
||||
@include govuk-font($size: 24, $weight: bold, $line-height: 1.25);
|
||||
@include govuk-font($size: 24, $weight: bold, $line-height: 1.5);
|
||||
@include govuk-media-query($from: tablet) {
|
||||
line-height: 1.25;
|
||||
}
|
||||
}
|
||||
|
||||
&-folder {
|
||||
|
||||
display: inline;
|
||||
padding-left: 40px;
|
||||
padding-left: 35px;
|
||||
background-image: file-url('folder-blue-bold.svg');
|
||||
background-repeat: no-repeat;
|
||||
background-size: auto 20px;
|
||||
background-position: 0px 4px;
|
||||
|
||||
@include govuk-media-query($from: tablet) {
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-image: file-url('folder-blue-bold-hover.svg');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user