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
e38d08d4
Commit
e38d08d4
authored
12 years ago
by
RJ Regenold
Browse files
Options
Download
Email Patches
Plain Diff
fixes jankiness with anchor tags in carousel.
parent
baadc33c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+3
-1
docs/assets/css/bootstrap.css
less/carousel.less
+7
-5
less/carousel.less
with
10 additions
and
6 deletions
+10
-6
docs/assets/css/bootstrap.css
+
3
-
1
View file @
e38d08d4
...
@@ -5917,7 +5917,9 @@ a.badge:hover {
...
@@ -5917,7 +5917,9 @@ a.badge:hover {
transition
:
0.6s
ease-in-out
left
;
transition
:
0.6s
ease-in-out
left
;
}
}
.carousel-inner
>
.item
>
img
{
.carousel-inner
>
.item
>
img
,
.carousel-inner
>
.item
>
a
,
.carousel-inner
>
.item
>
img
>
a
{
display
:
block
;
display
:
block
;
line-height
:
1
;
line-height
:
1
;
}
}
...
...
This diff is collapsed.
Click to expand it.
less/carousel.less
+
7
-
5
View file @
e38d08d4
...
@@ -21,12 +21,14 @@
...
@@ -21,12 +21,14 @@
display: none;
display: none;
position: relative;
position: relative;
.transition(.6s ease-in-out left);
.transition(.6s ease-in-out left);
}
// Account for jankitude on images
// Account for jankitude on images
> .item > img {
> img,
display: block;
> a,
line-height: 1;
> img > a {
display: block;
line-height: 1;
}
}
}
> .active,
> .active,
...
...
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