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
81e35985
Commit
81e35985
authored
6 years ago
by
Martijn Cuppens
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Simplify card group css (#27901)
parent
39b14c98
1 merge request
!28721
Hot test
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/_card.scss
+2
-26
scss/_card.scss
with
2 additions
and
26 deletions
+2
-26
scss/_card.scss
+
2
-
26
View file @
81e35985
...
...
@@ -195,7 +195,7 @@
// Handle rounded corners
@if
$enable-rounded
{
&
:
fir
st-child
{
&
:
not
(
:la
st-child
)
{
@include
border-right-radius
(
0
);
.card-img-top
,
...
...
@@ -210,7 +210,7 @@
}
}
&
:
la
st-child
{
&
:
not
(
:fir
st-child
)
{
@include
border-left-radius
(
0
);
.card-img-top
,
...
...
@@ -224,30 +224,6 @@
border-bottom-left-radius
:
0
;
}
}
&
:only-child
{
@include
border-radius
(
$card-border-radius
);
.card-img-top
,
.card-header
{
@include
border-top-radius
(
$card-border-radius
);
}
.card-img-bottom
,
.card-footer
{
@include
border-bottom-radius
(
$card-border-radius
);
}
}
&
:not
(
:first-child
)
:not
(
:last-child
)
:not
(
:only-child
)
{
@include
border-radius
(
0
);
.card-img-top
,
.card-img-bottom
,
.card-header
,
.card-footer
{
@include
border-radius
(
0
);
}
}
}
}
}
...
...
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