Skip to content

Commit 67c59ec

Browse files
committed
Create universal solution for success icon vertically middle and other icon along with it
1 parent 0cabc15 commit 67c59ec

File tree

1 file changed

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

1 file changed

+2
-10
lines changed

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

Lines changed: 2 additions & 10 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,15 +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-
}
133125
.message-spinner {
134126
&:before {
135127
display: none;

0 commit comments

Comments
 (0)