diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-15 19:42:53 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-15 19:44:09 +0100 |
| commit | eccc3d967187beb4d7c736c4799601519abf0a8e (patch) | |
| tree | edd4cf19a1e4544371174709a6785123f1dcc0b6 /public/main.css | |
| parent | faab3537dd9bf65247b08a361a0ba790b39d8694 (diff) | |
Improves Lallans gallery title layout
Diffstat (limited to 'public/main.css')
| -rw-r--r-- | public/main.css | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/public/main.css b/public/main.css index 32762fb..c856e14 100644 --- a/public/main.css +++ b/public/main.css @@ -360,7 +360,8 @@ footer { display: flex; flex-direction: column; width: fit-content; - height: 12rem; + align-items: center; + height: fit-content; } .link-gallery--furthsettins { @@ -380,7 +381,6 @@ footer { } .link-gallery__image { - align-self: start; max-width: var(--gallery-item-width); max-height: var(--gallery-item-height); } @@ -397,13 +397,15 @@ footer { .link-gallery__title { justify-self: end; max-width: var(--gallery-item-width); - min-height: 4.7ex; + min-height: 7ex; + min-height: 2lh; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: center; + margin-inline: var(--spacing-inline-xs); } .italic { |
