diff --git a/astro.config.ts b/astro.config.ts
index c2ca1005..46e5c4aa 100644
--- a/astro.config.ts
+++ b/astro.config.ts
@@ -12,7 +12,7 @@ const getDevCssClassPrefix = (filename: string): string => {
return filename
.slice(filename.indexOf(PATH_PREFIX) + PATH_PREFIX.length)
.replace('.module.scss', '')
- .replace(/[/?\\]/g, '-')
+ .replaceAll(/[/?\\]/g, '-')
}
const devGenerateScopedName = (name: string, filename: string, css: string) =>
diff --git a/src/components/Article/Comment.module.scss b/src/components/Article/Comment.module.scss
index 50064a39..e1ae44ba 100644
--- a/src/components/Article/Comment.module.scss
+++ b/src/components/Article/Comment.module.scss
@@ -54,6 +54,7 @@
.commentControls {
@include font-size(1.2rem);
+
margin-bottom: 0.5em;
}
@@ -120,6 +121,7 @@
.commentBody {
@include font-size(1.5rem);
+
line-height: 1.47;
}
@@ -196,6 +198,7 @@
button {
@include font-size(1.6rem);
+
margin-left: 1.2rem;
}
}
diff --git a/src/components/Article/RatingControl.tsx b/src/components/Article/RatingControl.tsx
index a052c5f7..6e560222 100644
--- a/src/components/Article/RatingControl.tsx
+++ b/src/components/Article/RatingControl.tsx
@@ -1,6 +1,5 @@
import styles from './RatingControl.module.scss'
import { clsx } from 'clsx'
-import { Icon } from '../_shared/Icon'
interface RatingControlProps {
rating?: number
diff --git a/src/components/Author/Card.module.scss b/src/components/Author/Card.module.scss
index ef8a6339..19df71b5 100644
--- a/src/components/Author/Card.module.scss
+++ b/src/components/Author/Card.module.scss
@@ -265,6 +265,7 @@
.authorComments {
.authorName {
@include font-size(1.2rem);
+
margin-bottom: 0;
}
diff --git a/src/components/Inbox/CreateModalContent.module.scss b/src/components/Inbox/CreateModalContent.module.scss
index fc1b2f1b..ef6a7115 100644
--- a/src/components/Inbox/CreateModalContent.module.scss
+++ b/src/components/Inbox/CreateModalContent.module.scss
@@ -1,5 +1,6 @@
.CreateModalContent {
padding: 24px;
+
.footer {
padding-top: 12px;
display: flex;
diff --git a/src/components/Inbox/DialogAvatar.module.scss b/src/components/Inbox/DialogAvatar.module.scss
index e9bfbb58..a5642b6f 100644
--- a/src/components/Inbox/DialogAvatar.module.scss
+++ b/src/components/Inbox/DialogAvatar.module.scss
@@ -18,6 +18,7 @@
border-radius: 50%;
border: 3px solid #fff;
}
+
.imageHolder {
background-size: cover;
width: 100%;
@@ -29,9 +30,6 @@
.letter {
display: block;
border-radius: 100%;
- }
-
- .letter {
margin-bottom: -2px;
font-weight: 500;
font-size: 18px;
diff --git a/src/components/Inbox/DialogCard.tsx b/src/components/Inbox/DialogCard.tsx
index c09a2fec..fc804bb8 100644
--- a/src/components/Inbox/DialogCard.tsx
+++ b/src/components/Inbox/DialogCard.tsx
@@ -1,4 +1,4 @@
-import { Show, Switch, Match, createMemo, For } from 'solid-js'
+import { Show, Switch, Match, createMemo } from 'solid-js'
import DialogAvatar from './DialogAvatar'
import type { ChatMember } from '../../graphql/types.gen'
import GroupDialogAvatar from './GroupDialogAvatar'
diff --git a/src/components/Inbox/GroupDialogAvatar.module.scss b/src/components/Inbox/GroupDialogAvatar.module.scss
index feb5ea84..a89ba931 100644
--- a/src/components/Inbox/GroupDialogAvatar.module.scss
+++ b/src/components/Inbox/GroupDialogAvatar.module.scss
@@ -2,6 +2,7 @@
position: relative;
height: 40px;
width: 40px;
+
.grouped {
position: absolute;
diff --git a/src/components/Inbox/Message.module.scss b/src/components/Inbox/Message.module.scss
index baa38207..1c9e3d75 100644
--- a/src/components/Inbox/Message.module.scss
+++ b/src/components/Inbox/Message.module.scss
@@ -20,6 +20,7 @@
a {
color: inherit;
text-decoration: underline;
+
&:hover {
color: inherit;
}
@@ -46,6 +47,7 @@
line-height: 20px;
}
}
+
&.own {
.body {
justify-content: flex-end;
@@ -54,6 +56,7 @@
background: #000;
color: #fff;
}
+
.time {
text-align: right;
}
diff --git a/src/components/Nav/HeaderAuth.tsx b/src/components/Nav/HeaderAuth.tsx
index 64bccb0e..86e46b8b 100644
--- a/src/components/Nav/HeaderAuth.tsx
+++ b/src/components/Nav/HeaderAuth.tsx
@@ -3,7 +3,7 @@ import { clsx } from 'clsx'
import { useRouter } from '../../stores/router'
import { t } from '../../utils/intl'
import { Icon } from '../_shared/Icon'
-import { createEffect, createSignal, Show } from 'solid-js'
+import { createSignal, Show } from 'solid-js'
import Notifications from './Notifications'
import { ProfilePopup } from './ProfilePopup'
import Userpic from '../Author/Userpic'
diff --git a/src/components/Nav/Modal.tsx b/src/components/Nav/Modal.tsx
index 51b55eac..2bc41fb3 100644
--- a/src/components/Nav/Modal.tsx
+++ b/src/components/Nav/Modal.tsx
@@ -17,7 +17,7 @@ interface ModalProps {
export const Modal = (props: ModalProps) => {
const { modal } = useModalStore()
- const backdropClick = (event: Event) => {
+ const backdropClick = () => {
hideModal()
}
diff --git a/src/components/Pages/profile/ProfileSecurityPage.tsx b/src/components/Pages/profile/ProfileSecurityPage.tsx
index d0a07515..b2344f2b 100644
--- a/src/components/Pages/profile/ProfileSecurityPage.tsx
+++ b/src/components/Pages/profile/ProfileSecurityPage.tsx
@@ -72,7 +72,7 @@ export const ProfileSecurityPage = (props: PageProps) => {
Google
-