diff options
| author | Aubrey Li <Aubrey-Li> | 2021-12-02 15:06:27 -0500 |
|---|---|---|
| committer | Aubrey Li <Aubrey-Li> | 2021-12-02 15:06:27 -0500 |
| commit | 3ce1455986d4f42c75c8aabc8aec56805e655747 (patch) | |
| tree | 82eb891e8f7093cf60962a6fb92a1ef642a4c194 /src/client/views/InkStroke.scss | |
| parent | 657a4c11b6b1526bacc79fbefe4b461e932c75e7 (diff) | |
| parent | 2cb18e75aa487ff98086e15fef93e2f549c30496 (diff) | |
Merge branch 'trails-aubrey' of https://github.com/brown-dash/Dash-Web into trails-aubrey
Diffstat (limited to 'src/client/views/InkStroke.scss')
| -rw-r--r-- | src/client/views/InkStroke.scss | 34 |
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; + } + } } |
