Skip to content

Commit 09aafcf

Browse files
committed
style: 触发警告卡片内容居中
1 parent eb85bbe commit 09aafcf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

assets/custom.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,13 +393,15 @@ button, .cover .buttons a{
393393
.trigger-warning-card{
394394
display: flex;
395395
align-items: center;
396+
justify-content: center;
396397
gap: 14px;
397398
padding: 12px 14px;
398399
margin: 0 0 1.2rem;
399400
border-radius: var(--radius);
400401
border: 1px solid color-mix(in oklab, #F97316 28%, transparent);
401402
background: color-mix(in oklab, #F97316 8%, var(--c-card));
402403
box-shadow: 0 8px 22px rgba(249, 115, 22, 0.12);
404+
text-align: center;
403405
}
404406

405407
.trigger-warning-card__icon{
@@ -431,7 +433,8 @@ button, .cover .buttons a{
431433

432434
@media (max-width: 640px){
433435
.trigger-warning-card{
434-
align-items: flex-start;
436+
align-items: center;
437+
justify-content: center;
435438
}
436439
}
437440

0 commit comments

Comments
 (0)