aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/layout/summary.module.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-10-10 19:37:51 +0200
committerArmand Philippot <git@armandphilippot.com>2023-11-11 18:14:41 +0100
commitc87c615b5866b8a8f361eeb0764bfdea85740e90 (patch)
treec27bda05fd96bbe3154472e170ba1abd5f9ea499 /src/components/organisms/layout/summary.module.scss
parent15522ec9146f6f1956620355c44dea2a6a75b67c (diff)
refactor(components): replace Meta component with MetaList
It removes items complexity by allowing consumers to use any label/value association. Translations should also be defined by the consumer. Each item can now be configured separately (borders, layout...).
Diffstat (limited to 'src/components/organisms/layout/summary.module.scss')
-rw-r--r--src/components/organisms/layout/summary.module.scss6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/organisms/layout/summary.module.scss b/src/components/organisms/layout/summary.module.scss
index 9dc1a69..ffc30ac 100644
--- a/src/components/organisms/layout/summary.module.scss
+++ b/src/components/organisms/layout/summary.module.scss
@@ -109,13 +109,9 @@
flex-flow: row wrap;
font-size: var(--font-size-sm);
- &__item {
- flex: 1 0 min(calc(100vw - 2 * var(--spacing-md)), 14ch);
- }
-
@include mix.media("screen") {
@include mix.dimensions("sm") {
- display: flex;
+ flex-flow: column wrap;
margin-top: 0;
}
}