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:
parent
dce52d0552
commit
7007e46b8a
@ -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>
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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>
|
||||
|
@ -127,7 +127,7 @@ module.exports = {
|
||||
return this;
|
||||
},
|
||||
selectAdd (name) {
|
||||
this.clickWhenEnabled(`#button-add`);
|
||||
this.clickWhenEnabled('#button-add');
|
||||
|
||||
this.api
|
||||
.useXpath()
|
||||
|
Loading…
Reference in New Issue
Block a user