Skip to content

Commit 2f4a3ad

Browse files
committed
adjust styles
1 parent bef3ddc commit 2f4a3ad

File tree

2 files changed

+3
-43
lines changed

2 files changed

+3
-43
lines changed

src/components/CopyPageButton/CopyPageButton.module.css

Lines changed: 2 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@
2323
right: 0;
2424
}
2525

26-
@media (max-width: 996px) {
27-
.h1Wrapper h1 {
28-
/* Less padding on tablet/mobile since button is icon-only */
29-
padding-right: 60px;
30-
}
31-
}
32-
3326
.mainButton {
3427
display: flex;
3528
align-items: center;
@@ -47,22 +40,6 @@
4740
min-width: 160px;
4841
}
4942

50-
@media (max-width: 996px) {
51-
.mainButton {
52-
min-width: auto;
53-
padding: 12px;
54-
gap: 0;
55-
}
56-
57-
.mainButton span {
58-
display: none;
59-
}
60-
61-
.mainButton .arrow {
62-
display: none;
63-
}
64-
}
65-
6643
.mainButton:hover {
6744
background: rgb(255 255 255 / 10%);
6845
border-color: rgb(255 255 255 / 25%);
@@ -93,24 +70,8 @@
9370
}
9471

9572
@media (max-width: 996px) {
96-
.dropdown {
97-
min-width: 260px;
98-
max-width: 90vw;
99-
}
100-
.alignCenter {
101-
right: auto;
102-
left: 50%;
103-
transform: translateX(-50%);
104-
}
105-
.alignRight {
106-
right: 0;
107-
left: auto;
108-
transform: none;
109-
}
110-
.alignLeft {
111-
left: 0;
112-
right: auto;
113-
transform: none;
73+
.container {
74+
display: none;
11475
}
11576
}
11677

src/theme/MDXPage/styles.module.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
justify-content: center;
66
overflow: visible;
77
width: 95%;
8-
margin-bottom: 16px;
8+
margin-bottom: 4px;
99
gap: 10px;
1010
}
1111

@@ -169,7 +169,6 @@
169169
justify-content: center;
170170
align-items: center;
171171
width: 100%;
172-
margin-top: 1rem;
173172
position: relative;
174173
z-index: 100;
175174
overflow: visible;

0 commit comments

Comments
 (0)