badguardhome/client/src/components/ui/texareaCommentsHighlight.css
Ildar Kamalov 91c1c9e61d Pull request #1273: 3438 make highlighted inputs resizable
Merge in DNS/adguard-home from 3438-inputs-height to master

Squashed commit of the following:

commit a049febdc8490505d665c0939c01a14da997f861
Merge: 7035339b 42b2c3ab
Author: Ildar Kamalov <ik@adguard.com>
Date:   Mon Aug 16 17:36:58 2021 +0300

    Merge branch 'master' into 3438-inputs-height

commit 7035339b26fa205a844e79713179c7b623c90ce0
Merge: 20ef34c4 784bc318
Author: Ildar Kamalov <ik@adguard.com>
Date:   Mon Aug 16 17:28:06 2021 +0300

    Merge branch 'master' into 3438-inputs-height

commit 20ef34c4a6078658c444e310800923b8b3f74c1c
Author: Ildar Kamalov <ik@adguard.com>
Date:   Mon Aug 16 13:41:46 2021 +0300

    client: remove unused

commit f2ace4ef452bbdc4b955e510aa07d1c93ec79ee4
Author: Ildar Kamalov <ik@adguard.com>
Date:   Mon Aug 16 13:30:58 2021 +0300

    client: make highlighted inputs resizable
2021-08-16 17:57:06 +03:00

41 lines
703 B
CSS

.text-edit-container {
position: relative;
min-height: 240px;
overflow: hidden;
}
.text-input,
.text-output {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 16px;
background: transparent;
white-space: pre-wrap;
line-height: 24px;
word-wrap: break-word;
font-size: var(--font-size-disable-autozoom);
margin: 0;
overscroll-behavior: none;
}
.text-input {
position: relative;
opacity: 1;
min-height: 240px;
}
.text-output {
pointer-events: none;
z-index: 3;
overflow-y: auto;
background: transparent;
border: 1px solid transparent;
}
.text-transparent {
color: transparent;
}