Merge pull request #1933 from alphagov/fix-letter-borders

Fix border around letter images
This commit is contained in:
Chris Hill-Scott
2018-03-07 16:28:46 +00:00
committed by GitHub

View File

@@ -28,11 +28,20 @@ $iso-paper-ratio: 141.42135624%;
width: 0px;
}
&:after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
box-shadow: inset 0 0 0 1px $border-colour;
}
img {
display: block;
width: 100%;
background: $white;
box-shadow: inset 0 0 0 1px $border-colour;
position: absolute;
top: 0;
left: 0;