Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Remove height: 100% from atom-text-editor elements #12581

Merged
merged 1 commit into from Sep 1, 2016

Conversation

as-cii
Copy link
Contributor

@as-cii as-cii commented Sep 1, 2016

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.

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>
@as-cii as-cii merged commit ac2c926 into master Sep 1, 2016
@as-cii as-cii deleted the as-ns-remove-height-100 branch September 1, 2016 15:10
as-cii pushed a commit that referenced this pull request Sep 1, 2016
Remove `height: 100%` from atom-text-editor elements
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant