release: v0.12.0 (#520)
Forty-one commits since v0.11.0. See CHANGELOG.md for the full list and the upgrade notes.
This commit is contained in:
@@ -54,7 +54,8 @@
|
||||
|
||||
/* Photo grid: generous spacing, cinematic transitions */
|
||||
[data-preset='editorial'] .photo-grid {
|
||||
column-gap: 32px;
|
||||
/* Preset default only — an explicit grid.gap lands inline and wins (#513). */
|
||||
--grid-gap: 32px;
|
||||
}
|
||||
|
||||
[data-preset='editorial'] .photo-grid__item {
|
||||
@@ -161,7 +162,7 @@
|
||||
|
||||
/* Subpage grid */
|
||||
[data-preset='editorial'] .subpage-grid {
|
||||
gap: 2px;
|
||||
--subpage-gap: 2px;
|
||||
}
|
||||
|
||||
[data-preset='editorial'] .subpage-grid__item {
|
||||
|
||||
@@ -90,7 +90,11 @@
|
||||
|
||||
/* Photo grid: zero hover effects, clinical stillness */
|
||||
[data-preset='minimal'] .photo-grid {
|
||||
column-gap: 2px;
|
||||
/* The preset's own spacing, and only its default: an explicit grid.gap lands
|
||||
inline on this element and wins. It used to be a hardcoded column-gap, which
|
||||
no setting could override and which left the row spacing on the global 12px
|
||||
while the columns stayed at 2px (#513). */
|
||||
--grid-gap: 2px;
|
||||
}
|
||||
|
||||
[data-preset='minimal'] .photo-grid__item {
|
||||
@@ -179,7 +183,7 @@
|
||||
|
||||
/* Subpage grid */
|
||||
[data-preset='minimal'] .subpage-grid {
|
||||
gap: 2px;
|
||||
--subpage-gap: 2px;
|
||||
}
|
||||
|
||||
[data-preset='minimal'] .subpage-grid__item {
|
||||
|
||||
@@ -30,7 +30,8 @@
|
||||
/* Photo grid: numbered indices with CSS counter */
|
||||
[data-preset='monograph'] .photo-grid {
|
||||
counter-reset: photo-index;
|
||||
column-gap: 40px;
|
||||
/* Preset default only — an explicit grid.gap lands inline and wins (#513). */
|
||||
--grid-gap: 40px;
|
||||
}
|
||||
|
||||
[data-preset='monograph'] .photo-grid__item {
|
||||
@@ -170,7 +171,7 @@
|
||||
|
||||
/* Subpage grid */
|
||||
[data-preset='monograph'] .subpage-grid {
|
||||
gap: 1px;
|
||||
--subpage-gap: 1px;
|
||||
}
|
||||
|
||||
[data-preset='monograph'] .subpage-grid__item {
|
||||
|
||||
@@ -615,8 +615,7 @@
|
||||
|
||||
/* ── Subpage: Album-Cover mit Caption-Bar ───────────────────── */
|
||||
[data-preset='studio-modern'] .subpage-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 20px;
|
||||
--subpage-gap: 20px;
|
||||
}
|
||||
|
||||
[data-preset='studio-modern'] .subpage-grid__item {
|
||||
|
||||
Reference in New Issue
Block a user