Further optimize spacing to waste less space

This commit is contained in:
Bernd Bestel
2020-02-03 21:45:15 +01:00
parent 171d6af5e1
commit fcfe62f4d3
3 changed files with 11 additions and 3 deletions

View File

@@ -16,6 +16,6 @@
- Improved that all add-dialogs can be submitted by using `ENTER` and that the next input is automatically selected after selecting a recipe/product - Improved that all add-dialogs can be submitted by using `ENTER` and that the next input is automatically selected after selecting a recipe/product
### General & other improvements/fixes ### General & other improvements/fixes
- Optimized the top navbar height to waste less space - Optimized the top navbar height and overall spacing to waste less space
- Replaced the scan-mode-switch-button by a native button because it's less disturbing - Replaced the scan-mode-switch-button by a native button because it's less disturbing
- Fixed that the "contextual time ago" of date/time pickers was not displayed - Fixed that the "contextual time ago" of date/time pickers was not displayed

View File

@@ -322,8 +322,16 @@ input::-webkit-inner-spin-button {
} }
#mainNav.fixed-top .sidenav-toggler { #mainNav.fixed-top .sidenav-toggler {
margin-top:calc(100vh - 48px) margin-top:calc(100vh - 48px);
} }
.content-wrapper {
margin-left: 245px;
}
}
body.fixed-nav {
padding-top: 54px;
} }
html { html {

View File

@@ -420,7 +420,7 @@
@endif @endif
<div class="content-wrapper pt-0"> <div class="content-wrapper pt-0">
<div class="container-fluid"> <div class="container-fluid pr-1 pl-md-3 pl-1">
<div class="row mb-3"> <div class="row mb-3">
<div id="page-content" class="col content-text"> <div id="page-content" class="col content-text">
@yield('content') @yield('content')