mdn[0] recommends using `font-weight: bold;` for making the text actually bold
While it has the same effect often, it depends on the font and browser
if the font is rendered bold in a <b> tag.
0: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
me.down('#modeBox').setHidden(true);
me.down('#whatWarning').setHidden(true);
} else {
- let html = '<b>' + Ext.String.htmlEncode(me.ogdata.name) + '</b>';
+ let html = '<b style="font-weight: bold;">' + Ext.String.htmlEncode(me.ogdata.name) + '</b>';
html += "<br><br>";
html += Ext.String.htmlEncode(Ext.String.trim(me.ogdata.info));
items: [
{
xtype: 'box',
- html: `<b>${gettext("Match if")}</b>`,
+ html: `<b style="font-weight: bold;">${gettext("Match if")}</b>`,
},
{
xtype: 'pmgMatchModeSelector',