Skip to content

Commit

Permalink
Style: Remove calc() for main layout
Browse files Browse the repository at this point in the history
  • Loading branch information
VitroidFPV committed May 13, 2024
1 parent 24a8738 commit 3ac44a0
Showing 1 changed file with 5 additions and 43 deletions.
48 changes: 5 additions & 43 deletions src/css/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,10 @@ input[type="number"] {
font-style: italic;
}
#main-wrapper {
padding: 0;
height: 100%;
height: 100vh;
background-color: var(--surface-100);
display: flex;
flex-direction: column;
}
#background {
background: rgba(0, 0, 0, 0.5);
Expand Down Expand Up @@ -1285,7 +1286,7 @@ dialog {
}

.toolbar_fixed_bottom {
.content_toolbar {
&.content_toolbar {
display: flex;
flex-wrap: wrap;
position: sticky;
Expand Down Expand Up @@ -2274,24 +2275,6 @@ button.active {
#scrollicon {
display: none;
}
#tab-content-container {
height: calc(100% - 83px);
}
#tab-content-container.logopen {
height: calc(100% - 167px);
}
#tab-content-container.header_expanded {
height: calc(100% - 181px);
}
#tab-content-container.header_expanded2 {
height: calc(100% - 145px);
}
#tab-content-container.logopen.header_expanded {
height: calc(100% - 265px);
}
#tab-content-container.logopen.header_expanded2 {
height: calc(100% - 229px);
}
.tab_container {
position: fixed;
z-index: 2000;
Expand All @@ -2318,27 +2301,6 @@ button.active {
border: none;
overflow: auto;
}
.toolbar_fixed_bottom {
// .content_toolbar.xs-compressed {
// padding-left: 60px;
// box-sizing: border-box;
// height: 50px;
// div {
// margin-bottom: 10px;
// }
// }
// .content_toolbar.xs-compressed.expanded {
// padding-left: 15px;
// padding-bottom: 0;
// height: auto;
// }
// .content_toolbar {
// justify-content: flex-end;
// div {
// padding-bottom: 8px;
// }
// }
}
.toolbar_expand_btn {
display: block;
}
Expand Down Expand Up @@ -2549,7 +2511,7 @@ button.active {
}
.toolbar_fixed_bottom {
.content_wrapper {
height: calc(100% - 81px);
height: fit-content;
overflow-y: auto;
position: initial;
}
Expand Down

0 comments on commit 3ac44a0

Please sign in to comment.