1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

Remove add button dropdown gap and update border radius

* Fix linting error
This commit is contained in:
Marliana Lara 2018-05-02 09:36:22 -04:00
parent dce52d0552
commit 7007e46b8a
No known key found for this signature in database
GPG Key ID: 38C73B40DFA809EE
5 changed files with 12 additions and 3 deletions

View File

@ -19,6 +19,7 @@
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false">
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu at-List-toolbarActionDropdownMenu">
<li>

View File

@ -46,9 +46,12 @@
}
.at-List-toolbarActionDropdownMenu {
border-top-right-radius: 0;
border: 1px solid @at-gray-d7;
float: right;
right: 0;
left: auto;
margin: 0;
right: 0;
}
.at-List-container {

View File

@ -26,6 +26,11 @@
border: none;
display: flex;
margin-left: @at-space-4x;
&[aria-expanded="true"] {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
}
.at-Button--info {

View File

@ -35,7 +35,7 @@
<span ng-bind-html="options.buttonContent" translate></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu pull-right">
<ul class="dropdown-menu at-List-toolbarActionDropdownMenu">
<li ng-repeat="option in options.options">
<a ui-sref="{{option.optionSref}}" ng-bind-html="option.optionContent" ng-show="{{option.ngShow}}"></a>
</li>

View File

@ -127,7 +127,7 @@ module.exports = {
return this;
},
selectAdd (name) {
this.clickWhenEnabled(`#button-add`);
this.clickWhenEnabled('#button-add');
this.api
.useXpath()