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 CSS styles and fonts for the debug window should be injected directly as a <style> to the HTML page (even in the case of embedded apps, like portlets).
The custom font should be included as a base64 encoded string. Internet Explorer 8 has a dataURL size limit of 32KB, which should not be a problem for the small debug icon set. Icomoon.io has the option to export the font as base64.
The injection should happen only when produtionMode==false and the ?debug parameter is used.
We should implement this using GWT styling so the styles will automatically be excluded when the debug window code is excluded (production mode widget set). Then we don't need any custom handling.
Originally by @jouni
The CSS styles and fonts for the debug window should be injected directly as a
<style>
to the HTML page (even in the case of embedded apps, like portlets).The custom font should be included as a base64 encoded string. Internet Explorer 8 has a dataURL size limit of 32KB, which should not be a problem for the small debug icon set. Icomoon.io has the option to export the font as base64.
The injection should happen only when produtionMode==false and the ?debug parameter is used.
Imported from https://dev.vaadin.com/ issue #13563
The text was updated successfully, but these errors were encountered: