1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 15:19:42 +02:00

Remove flexbox css for print media

This commit is contained in:
Harvey Kandola 2018-06-09 18:18:21 +01:00
parent acdf2025ab
commit d88adef5b5
8 changed files with 697 additions and 686 deletions

File diff suppressed because one or more lines are too long

View file

@ -14,7 +14,7 @@ import { inject as service } from '@ember/service';
import Component from '@ember/component';
export default Component.extend({
classNames: ['layout-footer'],
classNames: ['layout-footer', 'non-printable'],
tagName: 'footer',
appMeta: service(),

View file

@ -12,7 +12,7 @@
import Component from '@ember/component';
export default Component.extend({
classNames: ['layout-sidebar'],
classNames: ['layout-sidebar', 'non-printable'],
tagName: 'nav',
didInsertElement() {

View file

@ -16,7 +16,7 @@ import ModalMixin from '../../mixins/modal';
import Component from '@ember/component';
export default Component.extend(ModalMixin, {
classNames: ['layout-header'],
classNames: ['layout-header', 'non-printable'],
tagName: 'header',
folderService: service('folder'),
appMeta: service(),

View file

@ -32,6 +32,6 @@ export default Route.extend(AuthenticatedRouteMixin, {
},
activate() {
this.get('browser').setTitle('License');
this.get('browser').setTitle('Product Licensing & Updates');
}
});

View file

@ -47,6 +47,9 @@
}
.non-printable,
header,
footer,
.tabnav-control,
.document-toolbar,
.document-toc,
.tabnav-control,
@ -80,13 +83,14 @@
.doc-title {
margin: 0 !important;
padding: 0 !important;
font-size: 18px !important;
font-size: 1.5rem !important;
color: #000000 !important;
}
.doc-excerpt {
margin: 0 !important;
padding: 0 !important;
color: #464545 !important;
font-size: 1.2rem !important;
}
.wysiwyg {
@ -119,4 +123,11 @@
float: left !important;
width: 100% !important;
}
.layout-body, .layout-content {
padding: 0 !important;
margin: 0 !important;
display: block !important;
flex: none !important;
}
}

View file

@ -40,7 +40,7 @@
{{/if}}
{{#if showLikes}}
<div class=" d-flex justify-content-center">
<div class=" d-flex justify-content-center non-printable">
<div class="vote-box">
{{#unless voteThanks}}
<div class="prompt">

View file

@ -1,4 +1,4 @@
<div class="text-right">
<div class="text-right non-printable">
{{#if session.authenticated}}
{{#if permissions.documentAdd}}
<div id="document-template-button" class="button-icon-gray align-middle" data-toggle="tooltip" data-placement="top" title="Save as template">