We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc0ce9e commit a38f3b8Copy full SHA for a38f3b8
docs/src/components/Demo/Demo.css
@@ -228,16 +228,21 @@
228
.DemoSourceBrowser {
229
@apply text-xs;
230
cursor: text;
231
+ display: flex;
232
- & code {
233
+ & pre {
234
/* Different fonts may introduce vertical align issues */
235
display: flex;
236
/* Make sure selection highlight spans full container width in Safari */
237
flex-grow: 1;
238
+ }
239
+
240
+ & code {
241
padding: 0.5rem 0;
242
}
243
244
& code .frame {
245
+ display: block;
246
padding-left: 0.75rem;
247
padding-right: 0.75rem;
248
0 commit comments