Skip to content

Commit

Permalink
Change font to Arial
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinepouille committed Nov 5, 2024
1 parent 5c3e3b1 commit c052b9a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions gui/resources/JsSim.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ html {

body {
height: 100%;
font-family: Arial, sans-serif;
}

.flex-content {
Expand All @@ -32,7 +33,7 @@ body {
.kappa-code {
white-space : pre-wrap;
word-break: break-all;
font-family: monospace;
font-family: 'Courier New', monospace;
}

.clickable { cursor: pointer; cursor: hand; }
Expand Down Expand Up @@ -127,14 +128,14 @@ rect { stroke-width: 2; }
fill-opacity:0.5;
stroke-width : 2;
}
.node-text { font: 10px sans-serif; }
.node-text { font-size: 10px; }
.node-proof {
opacity : 0.0;
}
.site-rect { stroke-width:1;
stroke: #000;
}
.site-text { font: 8x sans-serif; }
.site-text { font-size: 8px; }

.node-proof { opacity : 0.0;
}
Expand Down Expand Up @@ -239,7 +240,7 @@ rect { stroke-width: 2; }
#contact-map-display {
-moz-osx-font-smoothing:grayscale;
-webkit-font-smoothing:antialiased;
font: 14px helvetica, arial, sans-serif;
font: 14px Arial, sans-serif;
display: inline-block;
position: relative;
width: 100%;
Expand Down
3 changes: 2 additions & 1 deletion tests/playwright/procedure.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ import * as utils from './webapp_utils';
test.describe.configure({ mode: 'parallel' });

test.beforeEach(async ({ page }, testInfo) => {
page; // TODO: remove when `page` used in function
testInfo.setTimeout(testInfo.timeout + 30000);
// Wait on fonts, might be useful on CI
await page.waitForFunction(() => document.fonts.ready);
});

const abc_ka = '//raw.githubusercontent.com/Kappa-Dev/KappaTools/master/examples/abc.ka'
Expand Down
Binary file removed tests/playwright/refs/snapshot_graph_chromium.png
Binary file not shown.
Binary file removed tests/playwright/refs/snapshot_graph_firefox.png
Binary file not shown.

0 comments on commit c052b9a

Please sign in to comment.