mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 02:01:01 -03:30
Remove add button dropdown gap and update border radius
* Fix linting error
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
data-toggle="dropdown"
|
data-toggle="dropdown"
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-expanded="false">
|
aria-expanded="false">
|
||||||
|
<span class="sr-only">Toggle Dropdown</span>
|
||||||
</button>
|
</button>
|
||||||
<ul class="dropdown-menu at-List-toolbarActionDropdownMenu">
|
<ul class="dropdown-menu at-List-toolbarActionDropdownMenu">
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -46,9 +46,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.at-List-toolbarActionDropdownMenu {
|
.at-List-toolbarActionDropdownMenu {
|
||||||
|
border-top-right-radius: 0;
|
||||||
|
border: 1px solid @at-gray-d7;
|
||||||
float: right;
|
float: right;
|
||||||
right: 0;
|
|
||||||
left: auto;
|
left: auto;
|
||||||
|
margin: 0;
|
||||||
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.at-List-container {
|
.at-List-container {
|
||||||
|
|||||||
@@ -26,6 +26,11 @@
|
|||||||
border: none;
|
border: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-left: @at-space-4x;
|
margin-left: @at-space-4x;
|
||||||
|
|
||||||
|
&[aria-expanded="true"] {
|
||||||
|
border-bottom-left-radius: 0;
|
||||||
|
border-bottom-right-radius: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.at-Button--info {
|
.at-Button--info {
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
<span ng-bind-html="options.buttonContent" translate></span>
|
<span ng-bind-html="options.buttonContent" translate></span>
|
||||||
<span class="sr-only">Toggle Dropdown</span>
|
<span class="sr-only">Toggle Dropdown</span>
|
||||||
</button>
|
</button>
|
||||||
<ul class="dropdown-menu pull-right">
|
<ul class="dropdown-menu at-List-toolbarActionDropdownMenu">
|
||||||
<li ng-repeat="option in options.options">
|
<li ng-repeat="option in options.options">
|
||||||
<a ui-sref="{{option.optionSref}}" ng-bind-html="option.optionContent" ng-show="{{option.ngShow}}"></a>
|
<a ui-sref="{{option.optionSref}}" ng-bind-html="option.optionContent" ng-show="{{option.ngShow}}"></a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -127,7 +127,7 @@ module.exports = {
|
|||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
selectAdd (name) {
|
selectAdd (name) {
|
||||||
this.clickWhenEnabled(`#button-add`);
|
this.clickWhenEnabled('#button-add');
|
||||||
|
|
||||||
this.api
|
this.api
|
||||||
.useXpath()
|
.useXpath()
|
||||||
|
|||||||
Reference in New Issue
Block a user