refactor(aio): include print styles last to overwrite other styles (#23538)

PR Close #23538
This commit is contained in:
George Kalpakas
2018-04-25 13:40:49 +03:00
committed by Igor Minar
parent 5cb36ed706
commit 14d8a98001
3 changed files with 7 additions and 5 deletions

View File

@ -12,4 +12,3 @@
@import 'sidenav'; @import 'sidenav';
@import 'table-of-contents'; @import 'table-of-contents';
@import 'top-menu'; @import 'top-menu';
@import 'print-layout';

View File

@ -16,7 +16,7 @@
ul, ol, img, code-example, table, tr, .alert, .l-subsection, .feature { ul, ol, img, code-example, table, tr, .alert, .l-subsection, .feature {
page-break-inside: avoid; page-break-inside: avoid;
} }
table tbody tr:last-child td { table tbody tr:last-child td {
border-bottom: 1px solid $lightgray !important; border-bottom: 1px solid $lightgray !important;
@ -80,7 +80,7 @@
} }
} }
.content code { .content code {
border: 0.5px solid $lightgray; border: 0.5px solid $lightgray;
} }
@ -96,7 +96,7 @@
} }
} }
.api-header label { .api-header label {
color: $darkgray !important; color: $darkgray !important;
font-weight: bold !important; font-weight: bold !important;
margin: 2px !important; margin: 2px !important;
@ -107,4 +107,4 @@
.feature-section img { .feature-section img {
max-width: 70px !important; max-width: 70px !important;
} }
} }

View File

@ -12,3 +12,6 @@
@import './0-base/base-dir'; @import './0-base/base-dir';
@import './1-layouts/layouts-dir'; @import './1-layouts/layouts-dir';
@import './2-modules/modules-dir'; @import './2-modules/modules-dir';
// import print styles
@import './print';