mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-03 03:10:50 +08:00
fix(ui): update modal styles for better responsiveness and overflow handling
This commit is contained in:
@@ -26,6 +26,5 @@
|
|||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "local"
|
"url": "local"
|
||||||
},
|
}
|
||||||
"dependencies": {}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2076,9 +2076,13 @@ input:checked+.slider:before {
|
|||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
max-width: 550px;
|
max-width: 550px;
|
||||||
|
max-height: 90vh;
|
||||||
box-shadow: var(--shadow-modal);
|
box-shadow: var(--shadow-modal);
|
||||||
animation: modalSlideIn 0.3s ease;
|
animation: modalSlideIn 0.3s ease;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes modalSlideIn {
|
@keyframes modalSlideIn {
|
||||||
@@ -2119,6 +2123,9 @@ input:checked+.slider:before {
|
|||||||
|
|
||||||
#modal-body {
|
#modal-body {
|
||||||
padding: 35px 30px 30px 30px;
|
padding: 35px 30px 30px 30px;
|
||||||
|
flex: 1;
|
||||||
|
min-height: 0;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 模态框标题样式 */
|
/* 模态框标题样式 */
|
||||||
|
|||||||
Reference in New Issue
Block a user