0001-scss-use-negative-margins-for-cell-title-cover-borde.patch
static/includes/_cells.scss | ||
---|---|---|
115 | 115 |
@extend %title; |
116 | 116 |
position: relative; |
117 | 117 |
@if $cell-title-cover-border == true { |
118 |
top: -1px; |
|
119 |
left: -1px; |
|
120 |
width: calc(100% + 2px); |
|
121 |
} else { |
|
122 |
width: 100%; |
|
118 |
margin: #{extract-width($cell-border) * -1}; |
|
123 | 119 |
} |
124 | 120 |
border-bottom-left-radius: 0; |
125 | 121 |
border-bottom-right-radius: 0; |
static/includes/_utils.scss | ||
---|---|---|
27 | 27 |
@each $part in $border { @if type-of($part) == color { @return $part; } } |
28 | 28 |
@return null; |
29 | 29 |
} |
30 | ||
31 |
@function extract-width($border){ |
|
32 |
@each $part in $border { |
|
33 |
@if type-of($part) == number { @return $part; } } |
|
34 |
@return 0; |
|
35 |
} |
|
30 |
- |