Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
41febf4c
Commit
41febf4c
authored
Jun 24, 2020
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moves all print styles into application.scss
parent
d35cd556
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
app/assets/stylesheets/application.scss
app/assets/stylesheets/application.scss
+5
-0
app/views/layouts/_head.html.haml
app/views/layouts/_head.html.haml
+0
-1
No files found.
app/assets/stylesheets/application.scss
View file @
41febf4c
...
@@ -46,3 +46,8 @@
...
@@ -46,3 +46,8 @@
// Gitlab UI util classes
// Gitlab UI util classes
@import
"@gitlab/ui/src/scss/utilities"
;
@import
"@gitlab/ui/src/scss/utilities"
;
/* print styles */
@media
print
{
@import
"print"
;
}
app/views/layouts/_head.html.haml
View file @
41febf4c
...
@@ -53,7 +53,6 @@
...
@@ -53,7 +53,6 @@
=
stylesheet_link_tag
"application_dark"
,
media:
"all"
=
stylesheet_link_tag
"application_dark"
,
media:
"all"
-
else
-
else
=
stylesheet_link_tag
"application"
,
media:
"all"
=
stylesheet_link_tag
"application"
,
media:
"all"
=
stylesheet_link_tag
"print"
,
media:
"print"
=
stylesheet_link_tag
"disable_animations"
,
media:
"all"
if
Rails
.
env
.
test?
||
Gitlab
.
config
.
gitlab
[
'disable_animations'
]
=
stylesheet_link_tag
"disable_animations"
,
media:
"all"
if
Rails
.
env
.
test?
||
Gitlab
.
config
.
gitlab
[
'disable_animations'
]
=
stylesheet_link_tag
'performance_bar'
if
performance_bar_enabled?
=
stylesheet_link_tag
'performance_bar'
if
performance_bar_enabled?
...
...
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