You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The minihtml documentation states, that color schemes can override the CSS styles from popups and phantoms by using the unique body id attribute, in case that is defined and not referenced by the popup generating plugin. This intended behavior doesn't work.
Steps to reproduce
To demonstrate, consider the show_scope_name command (ctrl>+alt+shift+p) from the Default package. The following html is defined in the file show_scope_name.py:
<bodyid=show-scope><style>
p {
margin-top: 0;
}
a {
font-family: system;
font-size: 1.05rem;
}
</style><p>%s</p><ahref="%s">Copy</a></body>
By default, the popup looks like this (here with the Monokai color scheme):
Now, define a CSS rule in the color scheme's popup_css setting to override a style from the popup (e.g. by using the following override for Monokai.sublime-color-scheme in your User package):
Description
The minihtml documentation states, that color schemes can override the CSS styles from popups and phantoms by using the unique body id attribute, in case that is defined and not referenced by the popup generating plugin. This intended behavior doesn't work.
Steps to reproduce
To demonstrate, consider the
show_scope_name
command (ctrl>+alt+shift+p) from the Default package. The following html is defined in the fileshow_scope_name.py
:By default, the popup looks like this (here with the Monokai color scheme):
![scope_name1](https://user-images.githubusercontent.com/6579999/63094614-3c8f3400-bf69-11e9-988b-b3566a51922b.png)
Now, define a CSS rule in the color scheme's
popup_css
setting to override a style from the popup (e.g. by using the following override forMonokai.sublime-color-scheme
in your User package):Result:
![scope_name2](https://user-images.githubusercontent.com/6579999/63094730-80823900-bf69-11e9-81a0-2e8a40af8ad0.png)
Observe how the link color has changed to red as intended, but the font size remained the same.
Expected behavior
The font size of the link in the popup should have changed.
Environment
The text was updated successfully, but these errors were encountered: