mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
hide elements around textarea if added by browsers extensions. (#5)
This commit is contained in:
parent
b8d3c1c7ee
commit
cd15007e3c
@ -2,7 +2,7 @@
|
||||
<canvas ref="overlay" class="neko-cursors" tabindex="0" />
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style lang="scss">
|
||||
.neko-cursors {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
@ -43,7 +43,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style lang="scss">
|
||||
.neko-component {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="neko-overlay-wrap">
|
||||
<canvas ref="overlay" class="neko-overlay" tabindex="0" />
|
||||
<textarea
|
||||
ref="textarea"
|
||||
@ -22,7 +22,12 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style lang="scss">
|
||||
/* hide elements around textarea if added by browsers extensions */
|
||||
.neko-overlay-wrap *:not(.neko-overlay) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.neko-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user