diff --git a/src/app/core/scss/partials/_angular-material-fix.scss b/src/app/core/scss/partials/_angular-material-fix.scss index 5a4cb7df..168656a3 100644 --- a/src/app/core/scss/partials/_angular-material-fix.scss +++ b/src/app/core/scss/partials/_angular-material-fix.scss @@ -1,3 +1,4 @@ +// Fix: "Icon button ripple radius is not correct on Edge & Safari" .mat-icon-button { .mat-button-ripple { @@ -5,6 +6,7 @@ } } +// Fix: "Sidenav opening with animations for the first time" md-sidenav-container { md-sidenav { @@ -39,3 +41,21 @@ md-sidenav-container { .mat-drawer-content { } } + +// Fix: "Inconsistent font sizes across elements" +.mat-input-wrapper { + font-size: 16px; +} + +.mat-checkbox { + font-size: 16px; +} + +.mat-radio-button { + font-size: 16px; +} + +.mat-pseudo-checkbox-checked:after { + width: 14px; + height: 7px; +} diff --git a/src/app/core/scss/partials/_print.scss b/src/app/core/scss/partials/_print.scss index ca03b476..e4c7971a 100644 --- a/src/app/core/scss/partials/_print.scss +++ b/src/app/core/scss/partials/_print.scss @@ -4,8 +4,9 @@ @media all { - /* Never show page break in normal view */ - .page-break { + /* Never show page breaks in normal view */ + .page-break-after, + .page-break-before { display: none; } @@ -13,22 +14,30 @@ @media print { - /* Page Styles */ - @page { - //margin: 0.5cm; + /* html and body tweaks */ + html, body { + height: auto !important; + overflow: initial !important; } - /* Page break */ - .page-break { + /* Page breaks */ + .page-break-after { display: block; - break-after: always; page-break-after: always; + position: relative; + } + + .page-break-before { + display: block; + page-break-before: always; + position: relative; } /* General styles */ fuse-root { - fuse-navbar, + fuse-navbar-vertical, + fuse-navbar-horizontal, fuse-toolbar, fuse-footer, fuse-quick-panel, @@ -41,11 +50,16 @@ .ps { overflow: visible !important; } - } - /* Printable page specific styles */ - .printable { - overflow: visible !important; - height: auto !important; + .mat-drawer-container, + .mat-sidenav-container { + background-color: white !important; + + .mat-drawer-content, + .mat-sidenav-content { + overflow: initial !important; + height: auto !important + } + } } } \ No newline at end of file diff --git a/src/app/main/toolbar/toolbar.component.scss b/src/app/main/toolbar/toolbar.component.scss index 2ec738a4..9a1e2745 100644 --- a/src/app/main/toolbar/toolbar.component.scss +++ b/src/app/main/toolbar/toolbar.component.scss @@ -30,7 +30,7 @@ } .user-button, - .search-button, + fuse-search-bar, .language-button, .quick-panel-toggle-button { min-width: 64px;