Skip to content

Commit 9554a02

Browse files
authored
Merge pull request #329 from TealSeer/fix-spritesheet-icons
Fix TGUI spritesheet icons being offset
1 parent 247a9b0 commit 9554a02

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

tgui/packages/tgui/styles/base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
@use 'sass:math';
1111

12-
$unit: 14px; // EffigyEdit Change - TGUI - Original: 12px
12+
$unit: 12px;
1313
$font-size: 1 * $unit !default;
1414

1515
@function em($px) {

tgui/packages/tgui/styles/effigy/effigy-values.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
*/
1111
:root {
1212
/* Font */
13-
--font-size: 14px;
1413
--font-family: 'Chakra Petch', Geneva, sans-serif;
1514
--font-family-mono: 'Ubunto Mono', Consolas, monospace;
1615

@@ -37,3 +36,8 @@
3736
--cursor-se-resize: se-resize;
3837
--cursor-e-resize: e-resize;
3938
}
39+
40+
body {
41+
/* Defined on body not :root because of rem calculations */
42+
--font-size: 14px;
43+
}

0 commit comments

Comments
 (0)