Removes top left border radius on list item where the list has a tool bar

Removes redundant styling.
This commit is contained in:
Alex Corey 2019-02-22 13:57:57 -05:00
parent c1698fff8e
commit 445612315b

View File

@ -99,6 +99,10 @@
.at-List-container {
border: @at-border-default-width solid @at-color-list-border;
border-radius: @at-border-radius;
& > div:last-of-type {
border-bottom-left-radius:@at-border-radius;
}
}
// Remove top left and right rounded corners of a list if there is a toolbar above it
@ -107,6 +111,12 @@
border-top-right-radius: 0;
}
.at-List-toolbar--attached + .at-List > .at-List-container{
.at-Row--active {
border-top-left-radius: 0;
}
}
.at-List-toolbar--attached + .at-List {
margin-top: 0;
}