aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkStroke.scss
diff options
context:
space:
mode:
authormehekj <mehek.jethani@gmail.com>2022-02-03 18:03:52 -0500
committermehekj <mehek.jethani@gmail.com>2022-02-03 18:03:52 -0500
commit922747ad959e95b592b4cde951b31f5503b8970b (patch)
treee25d747ba02b4cbfd76910b862b6aac104614daf /src/client/views/InkStroke.scss
parent30369cd78c1815a81bfe153c5a2d4551ad90dbe0 (diff)
parent4cdfa6c29701d372064eb4dc612807a27cb19857 (diff)
Merge branch 'master' into temporalmedia-mehek
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;
+ }
+ }
}