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
08b3515f
Commit
08b3515f
authored
Jul 01, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #8345: use inline-block on .img-responsive
parent
9da90adb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
18 deletions
+11
-18
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+5
-9
docs/assets/css/docs.css
docs/assets/css/docs.css
+3
-1
less/mixins.less
less/mixins.less
+0
-2
less/scaffolding.less
less/scaffolding.less
+1
-1
less/thumbnails.less
less/thumbnails.less
+2
-5
No files found.
docs/assets/css/bootstrap.css
View file @
08b3515f
...
...
@@ -329,7 +329,7 @@ img {
}
.img-responsive
{
display
:
block
;
display
:
inline-
block
;
height
:
auto
;
max-width
:
100%
;
}
...
...
@@ -3957,19 +3957,15 @@ button.close {
transition
:
all
0.2s
ease-in-out
;
}
.thumbnail
>
img
,
.img-thumbnail
{
display
:
block
;
height
:
auto
;
max-width
:
100%
;
}
.thumbnail
{
display
:
block
;
}
.thumbnail
>
img
,
.img-thumbnail
{
display
:
inline-block
;
height
:
auto
;
max-width
:
100%
;
}
a
.thumbnail
:hover
,
...
...
@@ -4308,7 +4304,7 @@ a.list-group-item.active > .badge,
.carousel-inner
>
.item
>
img
,
.carousel-inner
>
.item
>
a
>
img
{
display
:
block
;
display
:
inline-
block
;
height
:
auto
;
max-width
:
100%
;
line-height
:
1
;
...
...
docs/assets/css/docs.css
View file @
08b3515f
...
...
@@ -602,6 +602,7 @@ body {
}
.footer-links
{
margin
:
10px
0
;
padding-left
:
0
;
}
.footer-links
li
{
display
:
inline
;
...
...
@@ -617,7 +618,8 @@ body {
}
.bs-social-buttons
{
display
:
inline-block
;
margin
:
0
;
margin-bottom
:
0
;
padding-left
:
0
;
list-style
:
none
;
}
.bs-social-buttons
li
{
...
...
less/mixins.less
View file @
08b3515f
...
...
@@ -411,8 +411,6 @@
td& { display: table-cell !important; }
}
// Grid System
// -----------
...
...
less/scaffolding.less
View file @
08b3515f
...
...
@@ -64,7 +64,7 @@ img {
// Responsive images (ensure images don't scale beyond their parents)
.img-responsive {
display: block;
display:
inline-
block;
max-width: 100%; // Part 1: Set a maximum relative to the parent
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
}
...
...
less/thumbnails.less
View file @
08b3515f
...
...
@@ -17,15 +17,12 @@
border-radius: @thumbnail-border-radius;
.transition(all .2s ease-in-out);
}
.thumbnail > img,
.img-thumbnail {
.img-responsive();
}
.thumbnail {
display: block;
}
.thumbnail > img,
.img-thumbnail {
display: inline-block
;
.img-responsive()
;
}
// Add a hover state for linked versions only
...
...
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