Unverified Commit 63b8a6ff authored by Patrick H. Lauke's avatar Patrick H. Lauke Committed by GitHub
Browse files

Docs: Add top/bottom margin to highlighted code samples (#31706)

Backport of #31036 to v4
5 merge requests!36532My v4 dev,!34086v4: Fix prevented show event disables modals with fade class from being displayed again,!33729V4 dev,!33086V4 dev,!31901Add opacity utilities
Showing with 9 additions and 9 deletions
+9 -9
......@@ -18,19 +18,19 @@
.btn-clipboard {
position: absolute;
top: .5rem;
right: .5rem;
top: .65rem;
right: .65rem;
z-index: 10;
display: block;
padding: .25rem .5rem;
@include font-size(75%);
color: #818a91;
background-color: transparent;
border: 0;
@include font-size(65%);
color: $primary;
background-color: $white;
border: 1px solid;
@include border-radius();
&:hover {
color: $white;
background-color: #027de7;
background-color: $primary;
}
}
......@@ -366,8 +366,8 @@
.highlight {
pre {
padding: 0;
margin-top: 0;
margin-bottom: 0;
margin-top: .65rem;
margin-bottom: .65rem;
background-color: transparent;
border: 0;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment