mirror of
https://github.com/chinchang/web-maker.git
synced 2025-05-19 00:29:58 +02:00
bring alerts in center horizaontally
This commit is contained in:
parent
ffc4b2dc8b
commit
8910d193c5
@ -702,7 +702,7 @@ li.CodeMirror-hint-active {
|
||||
position: fixed;
|
||||
will-change: transform;
|
||||
left: 50%;
|
||||
top: -3px;
|
||||
top: -5px;
|
||||
padding: 10px;
|
||||
background: white;
|
||||
border: 1px solid #eee;
|
||||
@ -712,11 +712,11 @@ li.CodeMirror-hint-active {
|
||||
font-size: 1rem;
|
||||
border-radius: 3px;
|
||||
z-index: 6;
|
||||
transform: translateY(-100%);
|
||||
transform: translateX(-50%) translateY(-100%);
|
||||
transition: 0.3s ease;
|
||||
}
|
||||
.alerts-container.is-active {
|
||||
transform: translateY(0);
|
||||
transform: translateX(-50%) translateY(0);
|
||||
}
|
||||
|
||||
.error-gutter {
|
||||
|
Loading…
x
Reference in New Issue
Block a user