scss: cells: improve cells with $cell-border-radius (#39158)
This commit is contained in:
parent
fb5dbdff0a
commit
e7286688e2
|
@ -72,8 +72,11 @@ div.block {
|
|||
background: $cell-background;
|
||||
color: $cell-color;
|
||||
box-sizing: border-box;
|
||||
border-radius: $border-radius;
|
||||
border: $cell-border;
|
||||
@if $cell-border-radius {
|
||||
border-radius: $cell-border-radius;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
div#services > ul > li,
|
||||
|
@ -203,19 +206,6 @@ div.wcscurrentformscell ul {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
// make sure first/last children don't overflow the cell radius
|
||||
> li:first-child a {
|
||||
border-top-left-radius: $cell-border-radius;
|
||||
border-top-right-radius: $cell-border-radius;
|
||||
}
|
||||
> li:last-child a {
|
||||
border-bottom-left-radius: $cell-border-radius;
|
||||
border-bottom-right-radius: $cell-border-radius;
|
||||
}
|
||||
ul > li:first-child a, ul > li:last-child a {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
li div.description {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
|
|
Loading…
Reference in New Issue