Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
63b8a6ff
Unverified
Commit
63b8a6ff
authored
4 years ago
by
Patrick H. Lauke
Committed by
GitHub
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Docs: Add top/bottom margin to highlighted code samples (#31706)
Backport of #31036 to v4
parent
7539cfb2
v4-dev-dropdown-hide-method
v4-dev
v4.6.2
v4.6.1
v4.6.0
v4.5.3
5 merge requests
!36532
My v4 dev
,
!34086
v4: Fix prevented show event disables modals with fade class from being displayed again
,
!33729
V4 dev
,
!33086
V4 dev
,
!31901
Add opacity utilities
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
site/docs/4.5/assets/scss/_clipboard-js.scss
+7
-7
site/docs/4.5/assets/scss/_clipboard-js.scss
site/docs/4.5/assets/scss/_component-examples.scss
+2
-2
site/docs/4.5/assets/scss/_component-examples.scss
with
9 additions
and
9 deletions
+9
-9
site/docs/4.5/assets/scss/_clipboard-js.scss
+
7
-
7
View file @
63b8a6ff
...
...
@@ -18,19 +18,19 @@
.btn-clipboard
{
position
:
absolute
;
top
:
.5rem
;
right
:
.5rem
;
top
:
.
6
5rem
;
right
:
.
6
5rem
;
z-index
:
10
;
display
:
block
;
padding
:
.25rem
.5rem
;
@include
font-size
(
7
5%
);
color
:
#818a91
;
background-color
:
transparent
;
border
:
0
;
@include
font-size
(
6
5%
);
color
:
$primary
;
background-color
:
$white
;
border
:
1px
solid
;
@include
border-radius
();
&
:hover
{
color
:
$white
;
background-color
:
#027de7
;
background-color
:
$primary
;
}
}
This diff is collapsed.
Click to expand it.
site/docs/4.5/assets/scss/_component-examples.scss
+
2
-
2
View file @
63b8a6ff
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets