REMOVE text-fitter

This commit is contained in:
salomonelli 2017-06-15 14:16:46 +02:00
parent e08f1565f9
commit a1ee266356
3 changed files with 0 additions and 8 deletions

View File

@ -67,7 +67,3 @@ Resumes are being exported with [Electroshot](https://github.com/mixu/electrosho
### Box Shadows
[Electroshot](https://github.com/mixu/electroshot) uses Electron to generate PDF-files. Since Chrome does not export box-shadows properly, every resume uses [chrome-shadow-fixer](https://github.com/salomonelli/chrome-shadow-fixer).
### Text Adjustment
[text-fitter](https://github.com/salomonelli/chrome-shadow-fixer) is used to adjust the content proportionally to fit the page and keep the resume layout and design. No matter how long a CV may be, the content will be resized to fit the page.

View File

@ -21,7 +21,6 @@
"raleway-webfont": "^3.0.1",
"roboto-fontface": "^0.7.0",
"source-sans-pro": "^2.0.10",
"text-fitter": "^1.0.1",
"vue": "^2.3.4",
"vue-router": "^2.3.1"
},

View File

@ -11,13 +11,10 @@
<script>
import Vue from 'vue';
import * as chromeShadowFixer from 'chrome-shadow-fixer';
import * as textFitter from 'text-fitter';
import '../resumes/resumes';
export default Vue.component('resume', {
name: 'app',
mounted: () => {
const pageElements = document.querySelectorAll('.page-inner');
textFitter.fix(pageElements, false);
chromeShadowFixer.fix();
}
});