Skip to content

Commit 5cab3ff

Browse files
committed
Create universal solution for success icon vertically middle and other icon along with it
1 parent 330b6cc commit 5cab3ff

File tree

1 file changed

+2
-12
lines changed
  • app/design/adminhtml/Magento/backend/web/css/source/components

1 file changed

+2
-12
lines changed

app/design/adminhtml/Magento/backend/web/css/source/components/_messages.less

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@
7676
position: absolute;
7777
speak: none;
7878
text-shadow: none;
79-
top: 1.5rem;
79+
top: 50%;
80+
margin-top: -1.25rem;
8081
width: auto;
8182
}
8283
}
@@ -121,17 +122,6 @@
121122
}
122123
}
123124

124-
.adminhtml-import-index {
125-
.message-success {
126-
&:before {
127-
color: @alert-icon__success__color;
128-
content: @alert-icon__success__content;
129-
top: 2.3rem;
130-
}
131-
}
132-
}
133-
134-
135125
.message-spinner {
136126
&:before {
137127
display: none;

0 commit comments

Comments
 (0)