Commit Graph

19 Commits

Author SHA1 Message Date
simurai
6d0536886b Reset min-height
everywhere `min-width: 0;` is already used.
2016-09-07 15:38:00 +09:00
Antonio Scandurra
9ebde9ccb2 Remove height: 100% from atom-text-editor elements
Originally, editors with autoHeight set to false had an inline style of
100%. We attempted to retain this behavior while allowing CSS to change
the height by applying this styling via a global CSS rule instead:
unfortunately, however, this applies to non autoHeight editors as well
because due to our deprecated autoHeight detection routine, the height
of these editors must be assigned on an internal element and therefore
does not override the 100% styling from the stylesheet.

Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-01 16:43:43 +02:00
Nathan Sobo
67313aec8d Default editor height to 100%
Previously, when autoHeight was assigned to false on the editor, we would assign an inline style of height: 100%. This preserves the essence of that behavior without prohibiting users from assigning their own height via more specific CSS rules.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2016-08-17 16:14:04 -06:00
simurai
eb0cc530fd 🔥 Remove -webkit prefixes
that aren’t needed anymore.
2016-06-29 13:15:20 +09:00
Willem Van Lint
8cd48004dd Fixed positioning for overlay 2016-04-09 18:42:18 -07:00
Antonio Scandurra
6b4e769a90 Position line numbers relatively 2015-09-09 17:58:39 +02:00
simurai
e4ba689e40 Replaces default editor font
Only affects OS X
2015-06-15 16:03:50 +09:00
Antonio Scandurra
d294f35849 Get rid of .underlayer
/cc: @nathansobo
2015-06-05 16:26:33 +02:00
simurai
d97f67095e Add better fallback font
See comment https://github.com/atom/atom/pull/6567#commitcomment-10960397
2015-04-29 20:02:54 +09:00
simurai
52f06a619e Add DejaVu Sans Mono to font stack
Should fix font issues on Linux #4201
2015-04-29 16:59:24 +09:00
postcasio
5489d7d351 Use double colons for "before" and "after" pseudo-elements 2015-02-16 16:34:31 +00:00
simurai
696c795b50 🐛 Fix overflow of mini editors
Issue #4400
2015-01-16 20:12:53 +09:00
simurai
c024abcc5f 🐛 Fix line-height of the indent-guide
Issue #4279
2015-01-15 20:14:57 +09:00
Nathan Sobo
95ec0d8162 Replaces usages of .mini selector with [mini] 2014-11-13 16:04:57 -08:00
Nathan Sobo
0a4f5a365a Add missing less imports to pass lesslint 2014-11-13 16:04:57 -08:00
Nathan Sobo
99b08826dd Style non-shadow DOM editor with it’s own style sheet
Trying to style both modes of the text editor with the same style sheet
is proving to be more trouble than it’s worth. This prepares the shadow
DOM style sheet to diverge more radically to enable the background color
to be overridden from the outside more easily.
2014-11-13 16:04:24 -08:00
Ben Ogle
c79db992d9 Overlay decorations render 2014-11-11 11:25:36 -08:00
Ben Ogle
9553c46030 Override the default styling of .highlight in the editor.
Closes #4136
2014-11-10 14:34:50 -08:00
Nathan Sobo
7202908780 Split editor stylesheet into light and shadow DOM versions
This prevents the need for a :host pseudo-class in the editor CSS which
breaks linting. It also fits selectors targeting the host element in a
more intuitive spot in the cascade.
2014-11-04 16:37:24 -07:00