Style mini editor font sizes on atom-text-editor host element
…instead of via the shadow DOM. We always honor the computed font styles of the host element.
Esse commit está contido em:
@@ -88,12 +88,6 @@ atom-text-editor::shadow {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
atom-text-editor.mini::shadow {
|
||||
font-size: @input-font-size;
|
||||
line-height: @component-line-height;
|
||||
max-height: @component-line-height + 2; // +2 for borders
|
||||
|
||||
.placeholder-text {
|
||||
position: absolute;
|
||||
@@ -101,6 +95,12 @@ atom-text-editor.mini::shadow {
|
||||
}
|
||||
}
|
||||
|
||||
atom-text-editor.mini {
|
||||
font-size: @input-font-size;
|
||||
line-height: @component-line-height;
|
||||
max-height: @component-line-height + 2; // +2 for borders
|
||||
}
|
||||
|
||||
atom-text-editor::shadow {
|
||||
z-index: 0;
|
||||
font-family: Inconsolata, Monaco, Consolas, 'Courier New', Courier;
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário