From ceb598dbab2d80b8fac0031819c1bcf2aa2b5bbb Mon Sep 17 00:00:00 2001 From: Tony Zhang Date: Sun, 8 May 2022 01:58:24 +0800 Subject: [PATCH] update --- public/css/app.css | 8 ++++---- public/mix-manifest.json | 2 +- resources/scss/app.scss | 11 ++++++----- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/public/css/app.css b/public/css/app.css index 4cdddda..229a6ea 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -18048,16 +18048,13 @@ .notes .note .delete-wrapper { display: none; position: absolute; top: 0; - left: 0; + right: 0; width: 10%; height: 100%; align-items: center; justify-content: center; cursor: pointer; } -.notes .note .delete-wrapper:hover { - display: flex; -} .notes .note .delete-wrapper .bg { background: red; opacity: 0.7; @@ -18073,3 +18070,6 @@ .notes .note .delete-wrapper .delete { font-weight: bold; font-size: 1.2rem; } +.notes .note:hover .delete-wrapper { + display: flex; +} diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 437dcb4..8f89b52 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -1,4 +1,4 @@ { "/js/app.js": "/js/app.js?id=c98255a330e87e9652070f2535faf5ac", - "/css/app.css": "/css/app.css?id=2256531870611bc5ca65bc01fa411952" + "/css/app.css": "/css/app.css?id=0e09613f38f38595f7ffc7902940b5d6" } diff --git a/resources/scss/app.scss b/resources/scss/app.scss index f628b4f..39cb9ae 100644 --- a/resources/scss/app.scss +++ b/resources/scss/app.scss @@ -17,15 +17,12 @@ display: none; position: absolute; top: 0; - left: 0; + right: 0; width: 10%; height: 100%; align-items: center; justify-content: center; cursor: pointer; - &:hover { - display: flex; - } .bg { background: red; opacity: .7; @@ -42,6 +39,10 @@ font-size: 1.2rem; } } - + &:hover { + .delete-wrapper { + display: flex; + } + } } }