mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-05-24 02:08:24 +00:00
chore: disable setting font for now
need to revisit which font should be added to match default Podman Desktop style font fixes https://github.com/containers/podman-desktop/issues/5629 Signed-off-by: Florent Benoit <fbenoit@redhat.com>
This commit is contained in:
parent
caed92f22f
commit
8df529b5bd
2 changed files with 1 additions and 4 deletions
|
|
@ -174,7 +174,7 @@ test('check changeContent', async () => {
|
|||
|
||||
// check the document.write method has been called
|
||||
expect(spyDocumentWrite).toHaveBeenCalledWith(`<!DOCTYPE html>
|
||||
<html style="font-family: Montserrat;"><head></head><body>hello world</body></html>`);
|
||||
<html><head></head><body>hello world</body></html>`);
|
||||
});
|
||||
|
||||
test('check buildApi', async () => {
|
||||
|
|
|
|||
|
|
@ -72,9 +72,6 @@ export class WebviewPreload {
|
|||
// use a timeout to perform the update
|
||||
setTimeout(() => {
|
||||
const webviewContentHtml = new DOMParser().parseFromString(webviewHtmlContent, 'text/html');
|
||||
|
||||
webviewContentHtml.documentElement.style.setProperty('font-family', 'Montserrat');
|
||||
|
||||
const htmlContent = '<!DOCTYPE html>\n' + webviewContentHtml.documentElement.outerHTML;
|
||||
|
||||
document.open();
|
||||
|
|
|
|||
Loading…
Reference in a new issue