refactor: move the full-width-padding class to a higher parent to avoid having to use it

instead, just use full-width inside that parent

!nuf
This commit is contained in:
Miodec 2024-04-30 20:17:29 +02:00
parent 65c4de13ce
commit 2600f12716
2 changed files with 4 additions and 8 deletions

View file

@ -93,7 +93,7 @@
Test settings
</button>
</div>
<div id="typingTest" class="content-grid full-width">
<div id="typingTest" class="content-grid full-width-padding">
<div id="capsWarning" class="hidden">
<i class="fas fa-lock"></i>
Caps Lock
@ -104,17 +104,13 @@
<div id="timerNumber" class="timerMain">
<div>60</div>
</div>
<div id="miniTimerAndLiveWpm" class="full-width-padding timerMain">
<div id="miniTimerAndLiveWpm" class="full-width timerMain">
<div class="time hidden">1:00</div>
<div class="wpm hidden">60</div>
<div class="acc hidden">100%</div>
<div class="burst hidden">1</div>
</div>
<div
id="wordsWrapper"
class="content-grid full-width-padding"
translate="no"
>
<div id="wordsWrapper" class="content-grid full-width" translate="no">
<input
id="wordsInput"
class="full-width"

View file

@ -1534,7 +1534,7 @@ ConfigEvent.subscribe((key, value) => {
"max-width": Config.maxLineWidth + "ch",
});
$("#miniTimerAndLiveWpm").css({
"grid-column": "full-width-padding",
"grid-column": "full-width",
});
} else {
$("#typingTest").css({