From 35cae9415dd3f38fcdb8edb38a6900526405a7d0 Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 16 Sep 2024 03:42:55 +0300 Subject: [PATCH] scss-fixes --- ...ink.module.scss => AuthorLink.module.scss} | 0 .../Author/AuthorLink/AuthorLink.tsx | 2 +- src/components/Topic/Card.module.scss | 4 +-- .../InlineLoader/InlineLoader.module.scss | 26 +++++++++---------- 4 files changed, 16 insertions(+), 16 deletions(-) rename src/components/Author/AuthorLink/{AhtorLink.module.scss => AuthorLink.module.scss} (100%) diff --git a/src/components/Author/AuthorLink/AhtorLink.module.scss b/src/components/Author/AuthorLink/AuthorLink.module.scss similarity index 100% rename from src/components/Author/AuthorLink/AhtorLink.module.scss rename to src/components/Author/AuthorLink/AuthorLink.module.scss diff --git a/src/components/Author/AuthorLink/AuthorLink.tsx b/src/components/Author/AuthorLink/AuthorLink.tsx index 4f08f074..67f5113b 100644 --- a/src/components/Author/AuthorLink/AuthorLink.tsx +++ b/src/components/Author/AuthorLink/AuthorLink.tsx @@ -8,7 +8,7 @@ import { translit } from '~/intl/translit' import { capitalize } from '~/utils/capitalize' import { Userpic } from '../Userpic' -import styles from './AhtorLink.module.scss' +import styles from './AuthorLink.module.scss' type Props = { author: Author diff --git a/src/components/Topic/Card.module.scss b/src/components/Topic/Card.module.scss index 8aba45fb..927d320e 100644 --- a/src/components/Topic/Card.module.scss +++ b/src/components/Topic/Card.module.scss @@ -93,7 +93,7 @@ &.topicDescriptionShort { display: block; - -webkit-line-clamp: 3; + line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } @@ -158,4 +158,4 @@ .cardMode { margin-bottom: 0; -} \ No newline at end of file +} diff --git a/src/components/_shared/InlineLoader/InlineLoader.module.scss b/src/components/_shared/InlineLoader/InlineLoader.module.scss index dc90c7bd..fe6cf597 100644 --- a/src/components/_shared/InlineLoader/InlineLoader.module.scss +++ b/src/components/_shared/InlineLoader/InlineLoader.module.scss @@ -1,18 +1,18 @@ .InlineLoader { - @include font-size(1.4rem); + @include font-size(1.4rem); - display: flex; - align-items: center; - justify-content: center; - gap: 1rem; - width: 100%; - flex-direction: row; - opacity: 0.5; + display: flex; + align-items: center; + justify-content: center; + gap: 1rem; + width: 100%; + flex-direction: row; + opacity: 0.5; - .icon { - position: relative; - width: 18px; - height: 18px; - } + .icon { + position: relative; + width: 18px; + height: 18px; + } }