Skip to content

Commit 221c0ee

Browse files
committed
fix: hide article/talk/links bar in print view
1 parent 990d3ce commit 221c0ee

1 file changed

Lines changed: 15 additions & 4 deletions

File tree

‎frontend/src/css/_print.scss‎

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,11 @@
118118
--------------------------------------------------------------------------- */
119119

120120
/*
121-
Navigation, the contents column, the action rail, the relation buttons under the article, the
122-
footer, and every button that floats over the page -- all of them ways to go somewhere else, which
123-
is the one thing a sheet of paper cannot do. The relations are the one that reads as content rather
124-
than chrome, and they are not: they are the next page and the previous one, drawn as buttons.
121+
Navigation, the contents column, the action rail, the Article / Talk / Links strip, the relation
122+
buttons under the article, the footer, and every button that floats over the page -- all of them
123+
ways to go somewhere else, which is the one thing a sheet of paper cannot do. The relations are the
124+
one that reads as content rather than chrome, and they are not: they are the next page and the
125+
previous one, drawn as buttons.
125126
126127
The last five are the transient overlays, and they are here because printing is not a moment anyone
127128
prepares for: a tooltip is on screen the instant the Print button is clicked, and Ctrl+P works just
@@ -134,6 +135,7 @@
134135
.page-sidebar-scrim,
135136
.page-actions,
136137
.page-header-actions,
138+
.page-view-tabs,
137139
.page-relations,
138140
.w-footer,
139141
.w-page-scroller,
@@ -147,6 +149,15 @@
147149
display: none !important;
148150
}
149151

152+
/*
153+
And the edge the article column draws against the contents column, which is gone above. On paper it
154+
is a hairline down one side of every sheet, separating the text from nothing.
155+
*/
156+
.page-article-col {
157+
border-left: 0 !important;
158+
border-right: 0 !important;
159+
}
160+
150161
/* ---------------------------------------------------------------------------
151162
WHAT DOES, FLATTENED
152163
--------------------------------------------------------------------------- */

0 commit comments

Comments
 (0)