Skip to content

Commit 097cac6

Browse files
authored
hotfix: this pr hotfixes a few styles (nodejs#8608)
1 parent 45d2316 commit 097cac6

File tree

4 files changed

+19
-17
lines changed

4 files changed

+19
-17
lines changed

apps/site/components/withMetaBar.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ const WithMetaBar: FC = () => {
3535
// Since we cannot show the same number of avatars in Mobile / Tablet
3636
// resolution as we do on desktop and there is overflow, we are adjusting
3737
// the number of avatars manually for the resolutions below
38-
const isMobileResolution = useMediaQuery('(max-width: 670px)');
38+
const isMobileResolution = useMediaQuery('(max-width: 890px)');
39+
3940
const isTabletResolution = useMediaQuery(
40-
'(min-width: 670px) and (max-width: 1280px)'
41+
'(min-width: 890px) and (max-width: 1280px)'
4142
);
4243

4344
return (

packages/ui-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@node-core/ui-components",
3-
"version": "1.5.9",
3+
"version": "1.5.10",
44
"type": "module",
55
"exports": {
66
"./*": [

packages/ui-components/src/Common/Select/index.module.css

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838
focus:border-neutral-500
3939
focus:ring-1
4040
focus:ring-neutral-500
41-
data-[placeholder]:text-neutral-800
41+
data-placeholder:text-neutral-800
4242
dark:border-neutral-800
4343
dark:bg-neutral-950
4444
dark:text-white
4545
dark:focus:border-neutral-600
4646
dark:focus:ring-neutral-600
47-
dark:data-[placeholder]:text-neutral-200;
47+
dark:data-placeholder:text-neutral-200;
4848
}
4949

5050
.trigger span {
@@ -85,12 +85,12 @@
8585

8686
.text {
8787
@apply text-neutral-800
88-
data-[highlighted]:bg-green-500
89-
data-[highlighted]:text-white
90-
data-[highlighted]:outline-hidden
88+
data-highlighted:bg-green-500
89+
data-highlighted:text-white
90+
data-highlighted:outline-hidden
9191
dark:text-neutral-200
92-
dark:data-[highlighted]:bg-green-600
93-
dark:data-[highlighted]:text-white;
92+
dark:data-highlighted:bg-green-600
93+
dark:data-highlighted:text-white;
9494
}
9595

9696
.text > span {
@@ -137,13 +137,13 @@
137137

138138
.text {
139139
@apply text-neutral-900
140-
data-[disabled]:text-neutral-600
141-
data-[highlighted]:bg-neutral-100
142-
data-[highlighted]:text-neutral-900
140+
data-disabled:text-neutral-600
141+
data-highlighted:bg-neutral-100
142+
data-highlighted:text-neutral-900
143143
dark:text-white
144-
dark:data-[disabled]:text-neutral-700
145-
dark:data-[highlighted]:bg-neutral-900
146-
dark:data-[highlighted]:text-white;
144+
dark:data-disabled:text-neutral-700
145+
dark:data-highlighted:bg-neutral-900
146+
dark:data-highlighted:text-white;
147147
}
148148

149149
&.dropdown {
@@ -182,7 +182,7 @@
182182
.dropdown {
183183
@apply absolute
184184
left-0
185-
z-99
185+
z-999
186186
mt-4;
187187
}
188188

packages/ui-components/src/Containers/Sidebar/index.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
ml:max-w-xs
66
ml:overflow-auto
77
ml:border-r
8+
z-0
89
flex
910
w-full
1011
flex-col

0 commit comments

Comments
 (0)