Skip to content

Commit 105da22

Browse files
committed
fix: fix Less linter warnings in adminhtml
1 parent 8ad9684 commit 105da22

File tree

16 files changed

+18
-15
lines changed

16 files changed

+18
-15
lines changed

app/design/adminhtml/Magento/backend/Magento_Analytics/web/css/source/_module.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@
109109
}
110110

111111
.advanced-reports-subscription-close {
112-
display: inline-block;
113-
vertical-align: top;
112+
display: block;
114113
float: right;
115114
}
116115

app/design/adminhtml/Magento/backend/Magento_Backend/web/css/source/_module-old.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
.search-global-field .mage-suggest {
5555
position: static;
5656
display: block;
57-
vertical-align: baseline;
5857
width: auto;
5958
background-color: transparent;
6059
border: none;
@@ -177,7 +176,7 @@
177176
}
178177

179178
&:before {
180-
display: inline-block;
179+
display: block;
181180
float: right;
182181
margin-left: 4px;
183182
font-size: 13px;

app/design/adminhtml/Magento/backend/Magento_ConfigurableProduct/web/css/source/module/components/_currency-addon.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
width: 100%;
3131

3232
.admin__control-text {
33-
appearence: none;
33+
-webkit-appearance: none;
34+
appearance: none;
3435
-webkit-flex-grow: 1;
3536
flex-grow: 1;
3637
-ms-flex-order: 1;

app/design/adminhtml/Magento/backend/Magento_ConfigurableProduct/web/css/source/module/steps/_bulk-images.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898

9999
.admin__field-control {
100100
float: right;
101-
display: inline-block;
101+
display: block;
102102
}
103103
}
104104
}

app/design/adminhtml/Magento/backend/Magento_ReleaseNotification/web/css/source/_module.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@
6969
}
7070

7171
.release-notification-button-next, .release-notification-button-back {
72-
display: inline-block;
73-
vertical-align: top;
72+
display: block;
7473
float: right;
7574
position: absolute;
7675
bottom: 4rem;

app/design/adminhtml/Magento/backend/Magento_Ui/web/css/source/_module-old.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,14 @@
180180
.lib-clearfix();
181181

182182
[data-part=left] {
183-
display: inline-block;
183+
display: block;
184184
width: 45%;
185185
float: left;
186186
text-align: left;
187187
}
188188

189189
[data-part=right] {
190-
display: inline-block;
190+
display: block;
191191
width: 45%;
192192
text-align: right;
193193
float: right;

app/design/adminhtml/Magento/backend/Magento_VisualMerchandiser/web/css/source/_module.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
a {
7070
color: @color-gray85;
71-
display: inline-block;
71+
display: block;
7272
float: left;
7373
text-decoration: none;
7474
}

app/design/adminhtml/Magento/backend/web/css/source/_reset.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ html {
1111
// Prevent iOS text size adjust after orientation change, without disabling user zoom.
1212
-ms-text-size-adjust: 100%;
1313
-webkit-text-size-adjust: 100%;
14+
text-size-adjust: 100%;
1415
box-sizing: border-box;
1516
}
1617

@@ -234,6 +235,7 @@ html input[type='button'],
234235
input[type='reset'],
235236
input[type='submit'] {
236237
-webkit-appearance: button;
238+
appearance: button;
237239
cursor: pointer;
238240
}
239241

@@ -275,6 +277,7 @@ input[type='number'] {
275277
// Address 'appearance' set to 'searchfield' in Safari and Chrome.
276278
input[type='search'] {
277279
-webkit-appearance: textfield;
280+
appearance: textfield;
278281
}
279282

280283
// Remove inner padding and search cancel button in Safari and Chrome on OS X.
@@ -283,6 +286,7 @@ input[type='search'] {
283286
&::-webkit-search-cancel-button,
284287
&::-webkit-search-decoration {
285288
-webkit-appearance: none;
289+
appearance: none;
286290
}
287291
}
288292

app/design/adminhtml/Magento/backend/web/css/source/actions/_actions-dropdown.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@
231231
border: 0;
232232
display: inline;
233233
margin: 0;
234-
width: 6rem;
235234

236235
body._keyfocus &:focus {
237236
box-shadow: none;

app/design/adminhtml/Magento/backend/web/css/source/actions/_actions-switcher.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@
130130
display: block;
131131
height: @actions-switcher__height;
132132
transition: background @actions-switcher-speed ease-in 0s;
133-
vertical-align: middle;
134133
width: @actions-switcher__width;
135134
z-index: 0;
136135
}

0 commit comments

Comments
 (0)