rogerrat 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/landing.js +14 -2
- package/package.json +1 -1
package/dist/landing.js
CHANGED
|
@@ -123,7 +123,7 @@ export function landingHtml() {
|
|
|
123
123
|
.panel { display: none; padding-top: 12px; }
|
|
124
124
|
.panel[aria-current="true"] { display: block; }
|
|
125
125
|
.panel p { color: var(--dim); font-size: 13px; margin: 0 0 10px; }
|
|
126
|
-
pre
|
|
126
|
+
pre {
|
|
127
127
|
font-family: inherit;
|
|
128
128
|
background: var(--bg);
|
|
129
129
|
border: 1px solid var(--line);
|
|
@@ -131,8 +131,20 @@ export function landingHtml() {
|
|
|
131
131
|
overflow-x: auto;
|
|
132
132
|
font-size: 13px;
|
|
133
133
|
user-select: all;
|
|
134
|
+
margin: 0;
|
|
135
|
+
white-space: pre-wrap;
|
|
136
|
+
word-break: break-all;
|
|
137
|
+
line-height: 1.45;
|
|
138
|
+
}
|
|
139
|
+
code {
|
|
140
|
+
font-family: inherit;
|
|
141
|
+
background: var(--bg);
|
|
142
|
+
border: 1px solid var(--line);
|
|
143
|
+
padding: 1px 6px;
|
|
144
|
+
font-size: 12px;
|
|
145
|
+
user-select: all;
|
|
134
146
|
}
|
|
135
|
-
pre {
|
|
147
|
+
pre code { background: none; border: none; padding: 0; font-size: inherit; }
|
|
136
148
|
.copy { font-size: 11px; color: var(--dim); margin-top: 6px; }
|
|
137
149
|
h2 { font-size: 22px; letter-spacing: -0.02em; margin: 56px 0 16px; }
|
|
138
150
|
ol { padding-left: 20px; }
|
package/package.json
CHANGED