Skip to content

Commit 35f4526

Browse files
committed
fix: mobile browser button row visibility
1 parent 42e3e2d commit 35f4526

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

www/index.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ body {
9090
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
9191
background-color: var(--bg-main);
9292
color: var(--text-primary);
93-
height: 100vh;
93+
height: 100dvh;
9494
width: 100vw;
9595
overflow: hidden;
9696
display: flex;
@@ -138,7 +138,7 @@ body.state-bell {
138138
/* Main Container */
139139
#app {
140140
width: 100%;
141-
height: 100vh;
141+
height: 100dvh;
142142
display: flex;
143143
flex-direction: column;
144144
align-items: center;
@@ -214,7 +214,7 @@ p.subtitle {
214214
display: flex;
215215
flex-direction: column;
216216
gap: 0;
217-
max-height: calc(100vh - 350px);
217+
max-height: calc(100dvh - 350px);
218218
overflow-y: auto;
219219
margin-bottom: 1rem;
220220
padding-right: 0.5rem;
@@ -737,7 +737,7 @@ button#back-btn:hover {
737737

738738
body,
739739
#app {
740-
height: 100vh !important;
740+
height: 100dvh !important;
741741
overflow: hidden !important;
742742
}
743743

@@ -749,12 +749,12 @@ button#back-btn:hover {
749749
#summary-view {
750750
width: 100% !important;
751751
height: 100% !important;
752-
min-height: 100vh !important;
752+
min-height: 100dvh !important;
753753
max-width: none !important;
754754
border: none !important;
755755
border-radius: 0 !important;
756756
box-shadow: none !important;
757-
padding: 1.25rem 0.75rem 0 0.75rem !important;
757+
padding: 1.25rem 0.75rem 1.25rem 0.75rem !important;
758758
backdrop-filter: none !important;
759759
-webkit-backdrop-filter: none !important;
760760
margin: 0 !important;

www/sw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const CACHE_NAME = 'tm-timer-v37';
1+
const CACHE_NAME = 'tm-timer-v44';
22
const ASSETS = [
33
'./',
44
'./index.html',

0 commit comments

Comments
 (0)