Skip to content

Commit 96e49e7

Browse files
authored
chore(qol): CSS changes (#9093)
1 parent a2233c9 commit 96e49e7

7 files changed

Lines changed: 16 additions & 11 deletions

File tree

‎.changeset/large-pandas-refuse.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@node-core/ui-components': patch
3+
---
4+
5+
Quality-of-life style improvements

‎packages/ui-components/src/Common/ChangeHistory/index.module.css‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
z-50
3333
mt-1
3434
max-h-80
35-
w-52
35+
w-[26rem]
36+
max-w-[calc(100vw-2rem)]
3637
overflow-hidden
3738
rounded-sm
3839
border
@@ -45,7 +46,7 @@
4546

4647
.dropdownContentInner {
4748
@apply max-h-80
48-
w-52
49+
w-full
4950
overflow-y-auto;
5051
}
5152

@@ -64,7 +65,7 @@
6465
&:hover,
6566
&:focus-visible {
6667
@apply bg-brand-600
67-
text-white;
68+
text-white!;
6869
}
6970
}
7071

‎packages/ui-components/src/Common/TableOfContents/index.module.css‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
.link {
4242
@apply inline-block
4343
text-sm
44-
font-semibold
4544
text-neutral-900
4645
underline
4746
hover:text-neutral-700
@@ -50,8 +49,7 @@
5049
}
5150

5251
.codeLink {
53-
@apply font-ibm-plex-mono
54-
font-medium;
52+
@apply font-ibm-plex-mono;
5553
}
5654

5755
.depthThree {

‎packages/ui-components/src/Containers/MetaBar/index.module.css‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
a {
4949
@apply max-ml:inline-block
5050
max-ml:py-1
51-
font-semibold
5251
text-neutral-900
5352
underline
5453
dark:text-white;
@@ -60,8 +59,7 @@
6059
}
6160

6261
a.codeLink {
63-
@apply font-ibm-plex-mono
64-
font-medium;
62+
@apply font-ibm-plex-mono;
6563
}
6664

6765
ol {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
@apply ml:max-w-xs
55
ml:overflow-auto
66
ml:border-r
7+
ml:pb-10
78
scrollbar-thin
89
z-0
910
flex

‎packages/ui-components/src/styles/markdown.css‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ main {
4141
h4,
4242
h5,
4343
h6 {
44-
@apply font-semibold
44+
@apply mt-4
45+
font-semibold
4546
text-neutral-900
47+
first:mt-0
4648
dark:text-white;
4749

4850
&[id] a {

‎packages/ui-components/src/styles/theme.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@theme {
88
--container-8xl: 88rem;
99
--container-9xl: 96rem;
10-
--container-10xl: 104rem;
10+
--container-10xl: 110rem;
1111
--container-11xl: 112rem;
1212
--container-12xl: 120rem;
1313
--breakpoint-ml: 896px;

0 commit comments

Comments
 (0)