Card section button fix

This commit is contained in:
Angelos Chalaris 2017-02-02 19:51:31 +02:00
parent 4b03e32ad5
commit 88b9414d7c
4 changed files with 11 additions and 10 deletions

View file

@ -1238,7 +1238,7 @@ table.striped tr:nth-of-type(2n) > td {
padding: 0;
-o-object-fit: cover;
object-fit: cover; }
.card > button.section, .card .button.section, .card input.section {
.card > button.section, .card .button.section, .card [role="button"].section, .card input.section {
border-radius: 0; }
.card > .section:last-child {
border-bottom: 0; }

File diff suppressed because one or more lines are too long

View file

@ -813,3 +813,4 @@
## 20170202
- Added `[role="button"]` selector for elements inside `header`, did not remove any other selectors from component as specifity would be too low if changed.
- Updated `.card.section` to work properly with `[role="button"]` elements.

View file

@ -60,7 +60,7 @@ $card-normal-width: 320px !default; // Width for normal cards
}
}
// Card input and button sections
& > button, .#{$button-class-name}, input {
& > button, .#{$button-class-name}, [role="button"], input {
&.#{$card-section-name} {
border-radius: 0; // Clean button and input gaps from border-radius
}