diff options
| author | Eltrac <hi@guhub.cn> | 2025-12-02 17:07:03 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-12-02 17:07:03 +0800 |
| commit | e5a5dd2e1e8d14237a155e40d6a2e15ba1f05dda (patch) | |
| tree | 6c24761449591f63fe4db2965733aaf19bd77be7 /src/libra.css | |
| parent | 093ee14da0994e13160847a0d2772fad309430cb (diff) | |
fix: remove `cursor: pointer` - `.libra-overlay` having `cursor: pointer` casues
blank area to be "clickable", which can be very confusing. Though
`.libra-overlay` is clickable, it's already intuitive to click blank area to
dismiss lightbox, hence pointer is not needed. - `.libra-shaodw` is not
technically clickable thus should not have this attribute.
Diffstat (limited to 'src/libra.css')
| -rw-r--r-- | src/libra.css | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libra.css b/src/libra.css index f3d6e7b..2912012 100644 --- a/src/libra.css +++ b/src/libra.css @@ -13,8 +13,6 @@ display: flex; justify-content: center; align-items: center; - - cursor: pointer; } .libra-overlay.libra-visible { @@ -36,7 +34,6 @@ .libra-shadow { position: absolute; transition-property: transform; - cursor: pointer; z-index: 1000; } |
