Permalink
Browse files

fix: make selected hidden text transparent in editor

  • Loading branch information...
jkcclemens committed Jan 21, 2019
1 parent 4a602a4 commit d4bf1abacc91ac6dbb57775f099c42b257d06ade
@@ -24,6 +24,10 @@
width: 100%;
height: 100%;
}
.codesass__textarea::selection {
color: transparent;
background: highlight; /* FIXME: this is deprecated and doesn't work as expected in chrome */
}
.codesass--has-line-numbers .codesass__textarea {
width: calc(100% - 40px);
}
@@ -18,7 +18,7 @@
<link
rel="stylesheet"
href="/static/css/codesass/codesass.css?v={{ resources_version }}"
integrity="sha384-yBnyz1mM0NZbnMLxS7s9WOQl0cPUmO1oNno5810djz5Ea4RicAZsO+atsavVEjVa"/>
integrity="sha384-FOcIUg2BqXAbmlN86eN/XSf5s48Y7k/GdRr3VnoJNsL4syKJENoKIT2p/5Msske7"/>
<script
defer
src="/static/js/codesass/codesass.min.js?v={{ resources_version }}"
@@ -18,7 +18,7 @@
<link
rel="stylesheet"
href="/static/css/codesass/codesass.css?v={{ resources_version }}"
integrity="sha384-yBnyz1mM0NZbnMLxS7s9WOQl0cPUmO1oNno5810djz5Ea4RicAZsO+atsavVEjVa"/>
integrity="sha384-FOcIUg2BqXAbmlN86eN/XSf5s48Y7k/GdRr3VnoJNsL4syKJENoKIT2p/5Msske7"/>
<script
defer
src="/static/js/codesass/codesass.min.js?v={{ resources_version }}"

0 comments on commit d4bf1ab

Please sign in to comment.