Remove unnecessary FontAwesome declaration as well, which made the
characters look bad in IE8.
Change-Id: Ib0f9b01023b0a7a6f40513c80cbb6e6c69bd164c
line-height: $v-unit-size - 3px;
text-align: center;
cursor: pointer;
- font-family: FontAwesome;
font-size: round($v-font-size * 1.3);
color: valo-font-color($v-window-background-color, .4);
* state.
*/
setTabStopEnabled(doTabStop);
+
+ // Fix for #14413. Any pseudo elements inside these elements are not
+ // visible on initial render unless we shake the DOM.
+ if (BrowserInfo.get().isIE8()) {
+ closeBox.getStyle().setDisplay(Display.NONE);
+ maximizeRestoreBox.getStyle().setDisplay(Display.NONE);
+ Scheduler.get().scheduleFinally(new Command() {
+ @Override
+ public void execute() {
+ closeBox.getStyle().clearDisplay();
+ maximizeRestoreBox.getStyle().clearDisplay();
+ }
+ });
+ }
}
@Override