aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkStroke.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-12-10 13:36:12 -0500
committerbobzel <zzzman@gmail.com>2021-12-10 13:36:12 -0500
commite54c1ef16b4ce0a324fac3747defdc6501834de5 (patch)
treee956e5bbe07e53a36e5ead3d637e6f7c2b01671b /src/client/views/InkStroke.scss
parent8176b94970b86bd3c1669130f6fef2ccd70d0b84 (diff)
parentf8ce34c8ed42646691d1e392effe79bc27daf810 (diff)
Merge branch 'master' into ink_v1
Diffstat (limited to 'src/client/views/InkStroke.scss')
-rw-r--r--src/client/views/InkStroke.scss34
1 files changed, 23 insertions, 11 deletions
diff --git a/src/client/views/InkStroke.scss b/src/client/views/InkStroke.scss
index 55e06c6ca..664f2448b 100644
--- a/src/client/views/InkStroke.scss
+++ b/src/client/views/InkStroke.scss
@@ -13,16 +13,28 @@
}
}
-.inkStroke {
- mix-blend-mode: multiply;
- stroke-linejoin: round;
- stroke-linecap: round;
- overflow: visible !important;
- transform-origin: top left;
- width: 100%;
- height: 100%;
+.inkStroke-wrapper {
+ display: flex;
+ align-items: center;
+ height: 100%;
+ .inkStroke {
+ mix-blend-mode: multiply;
+ stroke-linejoin: round;
+ stroke-linecap: round;
+ overflow: visible !important;
+ transform-origin: top left;
+ width: 100%;
+ height: 100%;
+ pointer-events: none;
+ svg:not(:root) {
+ overflow: visible !important;
+ }
+ }
- svg:not(:root) {
- overflow: visible !important;
- }
+ .inkStroke-text {
+ position: absolute;
+ &:hover {
+ background: #9f9f9f0a;
+ }
+ }
}