aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles
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/styles
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/styles')
-rw-r--r--src/styles/abstracts/placeholders/_lists.scss2
-rw-r--r--src/styles/pages/article.module.scss3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/styles/abstracts/placeholders/_lists.scss b/src/styles/abstracts/placeholders/_lists.scss
index 780fd21..2200336 100644
--- a/src/styles/abstracts/placeholders/_lists.scss
+++ b/src/styles/abstracts/placeholders/_lists.scss
@@ -75,5 +75,5 @@
%description {
margin: 0;
- word-break: break-all;
+ overflow-wrap: break-word;
}
diff --git a/src/styles/pages/article.module.scss b/src/styles/pages/article.module.scss
index 068826f..d2e7822 100644
--- a/src/styles/pages/article.module.scss
+++ b/src/styles/pages/article.module.scss
@@ -12,9 +12,8 @@
margin-right: var(--spacing-2xs);
padding: var(--spacing-2xs) var(--spacing-xs);
- figure {
+ img {
max-width: fun.convert-px(22);
- margin-right: var(--spacing-2xs);
}
}