Skip to content

Commit e269d1b

Browse files
BatJannul800sebastiaan
authored andcommitted
Grid: Add button styling fix (#10978)
* Add missing focus styling * Ensure add button is perfectly rounded and remove unused / uneeded CSS. * Remove redundant border-color property * Revert removal of unused css Co-authored-by: BatJan <[email protected]> Co-authored-by: Jan Skovgaard Olsen <[email protected]> (cherry picked from commit 31ecc14)
1 parent 52f3350 commit e269d1b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/Umbraco.Web.UI.Client/src/less/components/umb-grid.less

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -565,12 +565,11 @@
565565
// ICONS
566566
// -------------------------
567567
.umb-grid .iconBox {
568-
padding: 4px 6px;
569-
display: inline-block;
570-
cursor: pointer;
568+
padding: 6px;
569+
display: flex;
571570
border-radius: 200px;
572571
border: 1px solid @ui-action-discreet-border;
573-
margin: 2px;
572+
margin: 0 auto;
574573

575574
&:hover, &:hover * {
576575
background: @ui-action-discreet-type-hover !important;
@@ -599,8 +598,6 @@
599598
-webkit-appearance: none;
600599
background-image: linear-gradient(to bottom,@gray-9,@gray-7);
601600
background-repeat: repeat-x;
602-
zoom: 1;
603-
border-color: @gray-7 @gray-7 @gray-6;
604601
border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
605602
box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
606603
border-radius: 3px;

0 commit comments

Comments
 (0)