Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
18b05314
Commit
18b05314
authored
Jul 23, 2019
by
Nick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: print css view
parent
7f4e3928
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
40 deletions
+36
-40
app.scss
client/scss/app.scss
+0
-2
print.scss
client/scss/base/print.scss
+0
-38
app.scss
client/themes/default/scss/app.scss
+36
-0
No files found.
client/scss/app.scss
View file @
18b05314
...
...
@@ -31,5 +31,3 @@
@import
'pages/error'
;
@import
'layout/_rtl'
;
@import
'base/print'
;
client/scss/base/print.scss
deleted
100644 → 0
View file @
7f4e3928
@media
print
{
#header-container
,
#alerts
,
.sidebar
,
.footer
{
display
:
none
;
}
#root
{
padding-top
:
0
;
padding-bottom
:
0
;
}
body
,
main
,
.hero
{
background
:
#FFF
;
border
:
none
;
}
.mkcontent
{
color
:
mc
(
'grey'
,
'900'
);
h1
,
h2
,
h3
{
background
:
#FFF
;
}
.toc-anchor
{
display
:
none
;
}
pre
{
background-color
:
#FFF
;
border-left
:
none
;
padding-left
:
20px
;
>
code
{
color
:
mc
(
'grey'
,
'800'
);
}
}
}
}
client/themes/default/scss/app.scss
View file @
18b05314
...
...
@@ -633,3 +633,39 @@
}
}
// ---------------
// PRINT OVERRIDES
// ---------------
@media
print
{
.nav-header
,
.v-navigation-drawer
,
.v-footer
,
.v-btn--floating
,
.page-col-sd
{
display
:
none
;
}
.page-col-content
{
flex-basis
:
100%
!
important
;
flex-grow
:
1
!
important
;
max-width
:
100%
!
important
;
>
.v-toolbar
{
border
:
1px
solid
mc
(
'grey'
,
'300'
)
!
important
;
border-radius
:
7px
!
important
;
&
+
.v-divider
{
display
:
none
!
important
;
}
}
}
.v-content
{
padding
:
0
!
important
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment