Skip to content
GitLab
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
1554b7cd
Commit
1554b7cd
authored
10 years ago
by
Mark Otto
Browse files
Options
Download
Plain Diff
Merge pull request #13242 from killthekitten/fix-carousel-controls
Fix carousel-control margin asymmetry
parents
818a50e2
dffbf8ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
less/carousel.less
+11
-2
less/carousel.less
with
11 additions
and
2 deletions
+11
-2
less/carousel.less
+
11
-
2
View file @
1554b7cd
...
@@ -110,20 +110,22 @@
...
@@ -110,20 +110,22 @@
.icon-prev,
.icon-prev,
.glyphicon-chevron-left {
.glyphicon-chevron-left {
left: 50%;
left: 50%;
margin-left: -10px;
}
}
.icon-next,
.icon-next,
.glyphicon-chevron-right {
.glyphicon-chevron-right {
right: 50%;
right: 50%;
margin-right: -10px;
}
}
.icon-prev,
.icon-prev,
.icon-next {
.icon-next {
width: 20px;
width: 20px;
height: 20px;
height: 20px;
margin-top: -10px;
margin-top: -10px;
margin-left: -10px;
font-family: serif;
font-family: serif;
}
}
.icon-prev {
.icon-prev {
&:before {
&:before {
content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
...
@@ -213,9 +215,16 @@
...
@@ -213,9 +215,16 @@
width: 30px;
width: 30px;
height: 30px;
height: 30px;
margin-top: -15px;
margin-top: -15px;
margin-left: -15px;
font-size: 30px;
font-size: 30px;
}
}
.glyphicon-chevron-left,
.icon-prev {
margin-left: -15px;
}
.glyphicon-chevron-right,
.icon-next {
margin-right: -15px;
}
}
}
// Show and left align the captions
// Show and left align the captions
...
...
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