瀏覽代碼

Enforce text cursor on compose box (#204)

In Chrome when the compose box is focused, only its padding has a text cursor, the containing `:before` element has a default cursor.

This does not apply in FF.

Alternatively you could define the text cursor for the `:before` element, but considering this would have to be set on all future child elements, setting it on the parent is prabably be more future proof.
Aimo Künkel 8 年之前
父節點
當前提交
da9ba965ca
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/sass/sections/_compose_area.scss

+ 1 - 0
src/sass/sections/_compose_area.scss

@@ -35,6 +35,7 @@
                     line-height: 1.3em;
                     max-height: calc(1.3em * 5);
                     min-height: 1.3em;
+                    cursor: text;
 
                     img {
                         vertical-align: middle;