Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
fda8d91c
Commit
fda8d91c
authored
11 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
use :extend in thumbnail Less
parent
651b289e
4 merge requests
!28721
Hot test
,
!12620
use :extend in thumbnail Less
,
!22103
test
,
!25326
Adjust examples
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dist/css/bootstrap.css
+3
-4
dist/css/bootstrap.css
less/thumbnails.less
+1
-1
less/thumbnails.less
with
4 additions
and
5 deletions
+4
-5
dist/css/bootstrap.css
+
3
-
4
View file @
fda8d91c
...
@@ -307,7 +307,9 @@ figure {
...
@@ -307,7 +307,9 @@ figure {
img
{
img
{
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
.img-responsive
{
.img-responsive
,
.thumbnail
>
img
,
.thumbnail
a
>
img
{
display
:
block
;
display
:
block
;
max-width
:
100%
;
max-width
:
100%
;
height
:
auto
;
height
:
auto
;
...
@@ -4401,9 +4403,6 @@ a.list-group-item.active > .badge,
...
@@ -4401,9 +4403,6 @@ a.list-group-item.active > .badge,
}
}
.thumbnail
>
img
,
.thumbnail
>
img
,
.thumbnail
a
>
img
{
.thumbnail
a
>
img
{
display
:
block
;
max-width
:
100%
;
height
:
auto
;
margin-right
:
auto
;
margin-right
:
auto
;
margin-left
:
auto
;
margin-left
:
auto
;
}
}
...
...
This diff is collapsed.
Click to expand it.
less/thumbnails.less
+
1
-
1
View file @
fda8d91c
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
> img,
> img,
a > img {
a > img {
.img-responsive
(
);
&:extend(
.img-responsive);
margin-left: auto;
margin-left: auto;
margin-right: auto;
margin-right: auto;
}
}
...
...
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
Menu
Explore
Projects
Groups
Snippets