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
06017b26
Commit
06017b26
authored
13 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fix bottom visual bug on carousel images
parent
58d08a2d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bootstrap.css
+5
-1
bootstrap.css
bootstrap.min.css
+1
-0
bootstrap.min.css
lib/carousel.less
+6
-0
lib/carousel.less
with
12 additions
and
1 deletion
+12
-1
bootstrap.css
+
5
-
1
View file @
06017b26
...
...
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Wed Jan 25 11:
31:57
PST 2012
* Date: Wed Jan 25 11:
47:25
PST 2012
*/
article
,
aside
,
...
...
@@ -2924,6 +2924,10 @@ a.thumbnail:hover {
-o-transition
:
0.6s
ease-in-out
left
;
transition
:
0.6s
ease-in-out
left
;
}
.carousel
.item
>
img
{
display
:
block
;
line-height
:
1
;
}
.carousel
.active
,
.carousel
.next
,
.carousel
.prev
{
display
:
block
;
}
...
...
This diff is collapsed.
Click to expand it.
bootstrap.min.css
+
1
-
0
View file @
06017b26
...
...
@@ -524,6 +524,7 @@ a.thumbnail:hover{border-color:#0088cc;-webkit-box-shadow:0 1px 4px rgba(0, 105,
.carousel
{
position
:
relative
;
line-height
:
1
;}
.carousel-inner
{
overflow
:
hidden
;
width
:
100%
;
position
:
relative
;}
.carousel
.item
{
display
:
none
;
position
:
relative
;
-webkit-transition
:
0.6s
ease-in-out
left
;
-moz-transition
:
0.6s
ease-in-out
left
;
-ms-transition
:
0.6s
ease-in-out
left
;
-o-transition
:
0.6s
ease-in-out
left
;
transition
:
0.6s
ease-in-out
left
;}
.carousel
.item
>
img
{
display
:
block
;
line-height
:
1
;}
.carousel
.active
,
.carousel
.next
,
.carousel
.prev
{
display
:
block
;}
.carousel
.active
{
left
:
0
;}
.carousel
.next
,
.carousel
.prev
{
position
:
absolute
;
top
:
0
;
width
:
100%
;}
...
...
This diff is collapsed.
Click to expand it.
lib/carousel.less
+
6
-
0
View file @
06017b26
...
...
@@ -20,6 +20,12 @@
.transition(.6s ease-in-out left);
}
// Account for jankitude on images
.item > img {
display: block;
line-height: 1;
}
.active,
.next,
.prev { display: block; }
...
...
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