Update styling of grid editor add button (#8570)

This commit is contained in:
Bjarne Fyrstenborg
2020-08-26 19:14:46 +02:00
committed by GitHub
parent 7347343a31
commit 74bce68c61
2 changed files with 12 additions and 15 deletions

View File

@@ -596,9 +596,10 @@
}
.umb-grid .iconBox i {
font-size: 16px !important;
color: @gray-3 ;
color: @gray-3;
display: block;
font-size: 16px;
line-height: inherit;
}
.umb-grid .help-text {
@@ -609,8 +610,6 @@
clear: both;
}
// TINYMCE EDITOR
// -------------------------

View File

@@ -258,17 +258,15 @@
<div class="umb-add-row" ng-if="!sortMode">
<button
class="iconBox btn-reset"
type="button"
title="{{ section.$allowedLayouts.length == 1 ? section.$allowedLayouts[0].label || section.$allowedLayouts[0].name : '' }}"
ng-click="section.$allowedLayouts.length == 1 ? addRow(section, section.$allowedLayouts[0]) : toggleAddRow()"
ng-if="!showRowConfigurations">
<i class="icon icon-add" ></i>
<span class="sr-only">
<localize key="visuallyHiddenTexts_addNewRow">Add new row</localize>
</span>
<button type="button"
class="iconBox btn-reset"
title="{{section.$allowedLayouts.length == 1 ? section.$allowedLayouts[0].label || section.$allowedLayouts[0].name : ''}}"
ng-click="section.$allowedLayouts.length == 1 ? addRow(section, section.$allowedLayouts[0]) : toggleAddRow()"
ng-if="!showRowConfigurations">
<i class="icon icon-add" aria-hidden="true"></i>
<span class="sr-only">
<localize key="visuallyHiddenTexts_addNewRow">Add new row</localize>
</span>
</button>
</div>