summaryrefslogtreecommitdiff
path: root/public/css/modules/link-gallery.css
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-26 08:24:35 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-26 08:24:35 +0100
commit0128568e2221f1d0d5df9fe3a1ab6e5911c0655a (patch)
tree17141b6a9910a8edea9bd02d293414f79dc0c9f0 /public/css/modules/link-gallery.css
parent4e4486f60ea2a09a91a875f20f276ad2693ddfaf (diff)
Adds xs breakpoint
Diffstat (limited to 'public/css/modules/link-gallery.css')
-rw-r--r--public/css/modules/link-gallery.css15
1 files changed, 2 insertions, 13 deletions
diff --git a/public/css/modules/link-gallery.css b/public/css/modules/link-gallery.css
index acb77e2..12ba16f 100644
--- a/public/css/modules/link-gallery.css
+++ b/public/css/modules/link-gallery.css
@@ -1,16 +1,11 @@
.link-gallery {
display: grid;
grid-template-columns: repeat(var(--grid-column-count), var(--grid-column-width));
- grid-auto-rows: calc(
- var(--gallery-row-image-height) +
- var(--margin-block-sm) +
- var(--gallery-row-title-height)
- );
gap: var(--grid-gutter-width);
padding-block: var(--margin-block-md);
- --gallery-item-column-span: 2;
+ --gallery-item-column-span: 1;
--gallery-row-image-height: 12rem;
- --gallery-row-title-height: 11ex;
+ --gallery-row-title-height: fit-content;
text-align: center;
}
@@ -38,12 +33,6 @@
.link-gallery__title {
width: 100%;
height: min-content;
- max-height: 100%;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
- overflow: hidden;
text-align: center;
margin-inline: var(--spacing-inline-xs);
}