diff --git a/package.json b/package.json index 931f2ba6..8263ee05 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,5 @@ "repository": { "type": "git", "url": "local" - }, - "dependencies": {} + } } diff --git a/styles.css b/styles.css index dd94a1eb..5d448da7 100644 --- a/styles.css +++ b/styles.css @@ -2076,9 +2076,13 @@ input:checked+.slider:before { border-radius: 15px; width: 90%; max-width: 550px; + max-height: 90vh; box-shadow: var(--shadow-modal); animation: modalSlideIn 0.3s ease; position: relative; + display: flex; + flex-direction: column; + overflow: hidden; } @keyframes modalSlideIn { @@ -2119,6 +2123,9 @@ input:checked+.slider:before { #modal-body { padding: 35px 30px 30px 30px; + flex: 1; + min-height: 0; + overflow-y: auto; } /* 模态框标题样式 */