From 54ccd71b91a8e4d6d01751d74f54dafad2c3f9ee Mon Sep 17 00:00:00 2001 From: Lorenzo Ancora <8310-lorenzoancora@users.noreply.git.pleroma.social> Date: Fri, 31 Jul 2020 13:17:38 +0000 Subject: [PATCH] Prevent accidental deletion of settings from the database by clicking on the Delete Setting buttons labels. --- src/views/settings/styles/main.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/settings/styles/main.scss b/src/views/settings/styles/main.scss index ce6712ae..1eeefc39 100644 --- a/src/views/settings/styles/main.scss +++ b/src/views/settings/styles/main.scss @@ -545,12 +545,16 @@ line-height: 22px; margin-top: 7px; width: 100%; + pointer-events: none; span { width: 100%; display: flex; justify-content: space-between; align-items: baseline; } + button { + pointer-events: auto; + } } .el-message { min-width: 80%;