From de4315707b39d9fbd05c8730741087af8583ea4c Mon Sep 17 00:00:00 2001 From: qier222 Date: Tue, 29 Dec 2020 00:41:07 +0800 Subject: [PATCH] fix: add scrollbar to modal --- src/components/ContextMenu.vue | 2 +- src/components/Modal.vue | 31 ++++++++++++++++++++++++------- 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/src/components/ContextMenu.vue b/src/components/ContextMenu.vue index 47e50dd..24eb16a 100644 --- a/src/components/ContextMenu.vue +++ b/src/components/ContextMenu.vue @@ -83,7 +83,7 @@ export default { [data-theme="dark"] { .menu { - background: rgba(46, 46, 46, 0.68); + background: rgba(36, 36, 36, 0.78); backdrop-filter: blur(16px) contrast(120%); border: 1px solid rgba(255, 255, 255, 0.08); } diff --git a/src/components/Modal.vue b/src/components/Modal.vue index 31961ba..15323d9 100644 --- a/src/components/Modal.vue +++ b/src/components/Modal.vue @@ -7,9 +7,7 @@ > -
- -
+