Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
06017b26
Commit
06017b26
authored
Jan 25, 2012
by
Mark Otto
Browse files
Options
Browse Files
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
with
12 additions
and
1 deletion
+12
-1
bootstrap.css
bootstrap.css
+5
-1
bootstrap.min.css
bootstrap.min.css
+1
-0
lib/carousel.less
lib/carousel.less
+6
-0
No files found.
bootstrap.css
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
;
}
...
...
bootstrap.min.css
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%
;}
...
...
lib/carousel.less
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; }
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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