Skip to content

Commit 64803c1

Browse files
committed
webui: fix fab position in large screen device
negative margin, crazy but works
1 parent a16b6da commit 64803c1

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

webui/styles.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ body {
132132
margin-bottom: calc(80px + var(--bottom-inset));
133133
position: relative;
134134
box-sizing: border-box;
135-
overflow: hidden;
136135
transition: margin-bottom 0.3s ease;
137136
}
138137

@@ -150,7 +149,6 @@ body {
150149
width: 100%;
151150
height: 100%;
152151
z-index: 0;
153-
overflow: hidden;
154152
}
155153

156154
.page-content {
@@ -343,7 +341,7 @@ body {
343341
position: absolute;
344342
bottom: 0;
345343
left: 0;
346-
padding: 16px;
344+
padding-bottom: 16px;
347345
box-sizing: border-box;
348346
width: 100%;
349347
display: flex;
@@ -353,6 +351,7 @@ body {
353351
}
354352

355353
md-fab {
354+
margin-inline-end: calc(50% - 50vw + 16px);
356355
transform: scale(1);
357356
opacity: 1;
358357
transition: all 0.2s ease;

0 commit comments

Comments
 (0)