mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-30 10:10:13 +02:00
bring alerts in center horizaontally
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user