Skip to content

Commit 914f942

Browse files
Lint fixes
1 parent 7969e02 commit 914f942

10 files changed

Lines changed: 26 additions & 22 deletions

File tree

src/components/Attachment/styling/Attachment.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
.str-chat__message-attachment--video {
2828
background: transparent;
2929
color: var(--text-primary);
30-
border-radius: calc(var(--message-bubble-radius-group-bottom) - var(--str-chat__attachment-margin));
30+
border-radius: calc(
31+
var(--message-bubble-radius-group-bottom) - var(--str-chat__attachment-margin)
32+
);
3133
}
3234

3335
.str-chat__message-attachment {
@@ -188,7 +190,9 @@
188190
.str-chat__message-attachment-file--item {
189191
background: transparent;
190192
color: var(--text-primary);
191-
border-radius: calc(var(--message-bubble-radius-group-bottom) - var(--str-chat__attachment-margin));
193+
border-radius: calc(
194+
var(--message-bubble-radius-group-bottom) - var(--str-chat__attachment-margin)
195+
);
192196
}
193197

194198
.str-chat__message-attachment-with-actions.str-chat__message-attachment--giphy {

src/components/Attachment/styling/Audio.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
.str-chat__message-attachment-audio-widget {
44
background: transparent;
55
color: var(--text-primary);
6-
border-radius: calc(var(--message-bubble-radius-group-bottom) - var(--str-chat__attachment-margin));
6+
border-radius: calc(
7+
var(--message-bubble-radius-group-bottom) - var(--str-chat__attachment-margin)
8+
);
79
flex: 1 1 auto;
810
width: 100%;
911
min-width: 0;

src/components/Attachment/styling/Geolocation.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
.str-chat__message-attachment-geolocation {
44
background: var(--chat-bg-attachment);
55
color: var(--chat-text);
6-
border-radius: calc(var(--message-bubble-radius-group-bottom) - var(--str-chat__attachment-margin));
6+
border-radius: calc(
7+
var(--message-bubble-radius-group-bottom) - var(--str-chat__attachment-margin)
8+
);
79
display: flex;
810
flex-direction: column;
911
height: 200px;

src/components/Attachment/styling/UnsupportedAttachment.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
.str-chat__message-attachment-unsupported {
55
background: transparent;
66
color: var(--text-primary);
7-
border-radius: calc(var(--message-bubble-radius-group-bottom) - var(--str-chat__attachment-margin));
7+
border-radius: calc(
8+
var(--message-bubble-radius-group-bottom) - var(--str-chat__attachment-margin)
9+
);
810
display: flex;
911
align-items: center;
1012
justify-content: center;

src/components/Attachment/styling/VoiceRecording.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
.str-chat__message-attachment__voice-recording-widget {
22
background: transparent;
33
color: var(--text-primary);
4-
border-radius: calc(var(--message-bubble-radius-group-bottom) - var(--str-chat__attachment-margin));
4+
border-radius: calc(
5+
var(--message-bubble-radius-group-bottom) - var(--str-chat__attachment-margin)
6+
);
57
display: flex;
68
align-items: center;
79
justify-content: center;

src/components/DateSeparator/styling/DateSeparator.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
.str-chat__date-separator--floating {
32
position: absolute;
43
top: 0;

src/components/Message/styling/Message.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@
519519
position: absolute;
520520
inset-block: 0;
521521
inset-inline: -9999px;
522-
background-color: var(--background-core-highlight);;
522+
background-color: var(--background-core-highlight);
523523
z-index: -1;
524524
pointer-events: none;
525525
}
@@ -528,7 +528,7 @@
528528
/* Fallback for browsers without :has() support */
529529
@supports not selector(:has(a, b)) {
530530
.str-chat__message--pinned {
531-
background-color: var(--background-core-highlight);;
531+
background-color: var(--background-core-highlight);
532532
}
533533
}
534534

src/components/MessageComposer/styling/AttachmentPreview.scss

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,7 @@
189189

190190
.str-chat__attachment-preview-media--uploading {
191191
.str-chat__attachment-preview-media__overlay {
192-
background: linear-gradient(
193-
180deg,
194-
var(--base-white) 0%,
195-
var(--slate-100) 100%
196-
);
192+
background: linear-gradient(180deg, var(--base-white) 0%, var(--slate-100) 100%);
197193
}
198194
}
199195

src/components/MessageComposer/styling/UnsupportedAttachmentPreview.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
.str-chat__attachment-preview-unsupported {
55
background: transparent;
66
color: var(--text-primary);
7-
border-radius: calc(var(--message-bubble-radius-group-bottom) - var(--str-chat__attachment-margin));
7+
border-radius: calc(
8+
var(--message-bubble-radius-group-bottom) - var(--str-chat__attachment-margin)
9+
);
810
display: flex;
911
align-items: center;
1012
justify-content: center;

src/components/Notifications/styling/NotificationList.scss

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,10 @@
66
flex-direction: column;
77
align-items: center;
88
justify-content: flex-start;
9-
inline-size: min(
10-
100%,
11-
calc(100% - (var(--str-chat__notification-list-inset) * 2))
12-
);
9+
inline-size: min(100%, calc(100% - (var(--str-chat__notification-list-inset) * 2)));
1310
max-width: 100%;
1411
min-width: 0;
15-
max-height: calc(
16-
100% - (var(--str-chat__notification-list-inset) * 2)
17-
);
12+
max-height: calc(100% - (var(--str-chat__notification-list-inset) * 2));
1813
padding-inline: var(--spacing-xs);
1914
pointer-events: none;
2015
position: absolute;

0 commit comments

Comments
 (0)