Skip to content

Commit d32f2a0

Browse files
committed
fix: responsive issue on plugin page
1 parent f91be50 commit d32f2a0

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/pages/plugin/plugin.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949

5050
.metrics-row {
5151
display: flex;
52+
flex-wrap: wrap;
5253
gap: 16px;
5354
color: color-mix(in srgb, var(--primary-text-color) 60%, transparent);
5455
font-size: 14px;
@@ -184,6 +185,23 @@
184185

185186
.tab-content {
186187
padding: 0 0 24px;
188+
189+
#overview {
190+
[class*="language-"] {
191+
word-wrap: normal;
192+
white-space: pre;
193+
font-size: 0.8rem;
194+
padding: 5px;
195+
margin: 5px 0;
196+
background: var(--primary-color);
197+
color: var(--primary-text-color);
198+
border-left: solid 5px var(--active-color);
199+
overflow: auto;
200+
width: calc(100% - 10px);
201+
display: block;
202+
user-select: text;
203+
}
204+
}
187205
}
188206

189207
.content-section {

0 commit comments

Comments
 (0)