From 445612315bf8543fc7cb1bd07cf056b06ff84ba4 Mon Sep 17 00:00:00 2001 From: Alex Corey Date: Fri, 22 Feb 2019 13:57:57 -0500 Subject: [PATCH] Removes top left border radius on list item where the list has a tool bar Removes redundant styling. --- awx/ui/client/lib/components/list/_index.less | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/awx/ui/client/lib/components/list/_index.less b/awx/ui/client/lib/components/list/_index.less index 7ee0f52780..d01b4e48fe 100644 --- a/awx/ui/client/lib/components/list/_index.less +++ b/awx/ui/client/lib/components/list/_index.less @@ -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; }