summaryrefslogtreecommitdiff
path: root/scss/modules/_link-gallery.scss
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2024-01-26 14:13:45 +0000
committerJoe Carstairs <jcarstairs@scottlogic.com>2024-01-26 14:13:45 +0000
commit1f9d3bce4de8a3a89105862304ea1544106a18ee (patch)
tree85f0aa2b3554ceef81dee5297e599b7051eddad3 /scss/modules/_link-gallery.scss
parentfab184fe597c1c833cd0afee66387160f3029bdf (diff)
Improves link gallery styling
Diffstat (limited to 'scss/modules/_link-gallery.scss')
-rw-r--r--scss/modules/_link-gallery.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/scss/modules/_link-gallery.scss b/scss/modules/_link-gallery.scss
index d321419..a7b7090 100644
--- a/scss/modules/_link-gallery.scss
+++ b/scss/modules/_link-gallery.scss
@@ -14,8 +14,9 @@
}
img {
- max-width: 100%;
+ max-width: 50%;
max-height: 100%;
+ height: fit-content;
margin: auto;
object-fit: contain;
}