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
e2a93ec0
Commit
e2a93ec0
authored
5 years ago
by
ysds
Committed by
Martijn Cuppens
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fix incorrect aspect ratio on IE11
parent
6e638685
2 merge requests
!31948
Examples/Floating-labels: fix bad behavior with autofill
,
!30064
test
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/_card.scss
+6
-5
scss/_card.scss
with
6 additions
and
5 deletions
+6
-5
scss/_card.scss
+
6
-
5
View file @
e2a93ec0
...
...
@@ -131,19 +131,20 @@
padding
:
$card-img-overlay-padding
;
}
.card-img
{
.card-img
,
.card-img-top
,
.card-img-bottom
{
flex-shrink
:
0
;
// For IE: https://github.com/twbs/bootstrap/issues/29396
width
:
100%
;
// Required because we use flexbox and this inherently applies align-self: stretch
@include
border-radius
(
$card-inner-border-radius
);
}
// C
ard
im
age caps
.c
ard
-
im
g
,
.card-img-top
{
width
:
100%
;
// Required because we use flexbox and this inherently applies align-self: stretch
@include
border-top-radius
(
$card-inner-border-radius
);
}
.card-img
,
.card-img-bottom
{
width
:
100%
;
// Required because we use flexbox and this inherently applies align-self: stretch
@include
border-bottom-radius
(
$card-inner-border-radius
);
}
...
...
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