Skip to content

Commit 6805449

Browse files
committed
style: use size class
1 parent 8ecfd75 commit 6805449

File tree

9 files changed

+14
-28
lines changed

9 files changed

+14
-28
lines changed

apps/site/components/Common/Searchbox/ChatActions/index.module.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
dark:hover:bg-neutral-900;
2727

2828
svg {
29-
@apply h-4
30-
w-4;
29+
@apply size-4;
3130
}
3231
}
3332

apps/site/components/Common/Searchbox/ChatInput/index.module.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343
disabled:dark:bg-neutral-900/60;
4444

4545
svg {
46-
@apply h-4
47-
w-4;
46+
@apply size-4;
4847
}
4948
}
5049

apps/site/components/Common/Searchbox/ChatInteractions/index.module.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
dark:text-neutral-200;
5858

5959
svg {
60-
@apply h-4
61-
w-4;
60+
@apply size-4;
6261
}
6362
}

apps/site/components/Common/Searchbox/ChatMessage/index.module.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636

3737
.typingDot {
3838
@apply animate-dot-move
39-
h-1
40-
w-1
39+
size-1
4140
rounded-full
4241
bg-neutral-500
4342
dark:bg-neutral-400;

apps/site/components/Common/Searchbox/DocumentLink/index.module.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
focus:dark:bg-neutral-900;
1818

1919
svg {
20-
@apply h-5
21-
w-5;
20+
@apply size-5;
2221
}
2322
}
2423

apps/site/components/Common/Searchbox/Footer/index.module.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
dark:bg-neutral-900;
4949

5050
svg {
51-
@apply h-4
52-
w-4;
51+
@apply size-4;
5352
}
5453
}

apps/site/components/Common/Searchbox/Search/index.module.css

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
@apply absolute
2222
left-3
2323
top-1/2
24-
h-4
25-
w-4
24+
size-4
2625
-translate-y-1/2
2726
text-neutral-500
2827
dark:text-neutral-600;
@@ -56,8 +55,7 @@
5655
dark:border-neutral-900;
5756

5857
svg {
59-
@apply h-4
60-
w-4;
58+
@apply size-4;
6159
}
6260
}
6361

@@ -130,8 +128,7 @@
130128
dark:focus-visible:border-green-400;
131129

132130
svg {
133-
@apply h-5
134-
w-5;
131+
@apply size-5;
135132
}
136133
}
137134

@@ -266,8 +263,7 @@
266263
}
267264

268265
svg {
269-
@apply h-5
270-
w-5
266+
@apply size-5
271267
shrink-0;
272268
}
273269
}

apps/site/components/Common/Searchbox/SlidingChatPanel/index.module.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
dark:text-white;
1717

1818
svg {
19-
@apply h-5
20-
w-5;
19+
@apply size-5;
2120
}
2221
}
2322

apps/site/components/Common/Searchbox/index.module.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343
text-sm;
4444

4545
svg {
46-
@apply h-4
47-
w-4;
46+
@apply size-4;
4847
}
4948
}
5049

@@ -126,8 +125,7 @@
126125
dark:text-neutral-200;
127126

128127
svg {
129-
@apply h-4
130-
w-4;
128+
@apply size-4;
131129
}
132130
}
133131

@@ -151,8 +149,7 @@
151149
py-1;
152150

153151
svg {
154-
@apply h-4
155-
w-4;
152+
@apply size-4;
156153
}
157154
}
158155

0 commit comments

Comments
 (0)