diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-01-06 21:59:49 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-01-06 22:03:01 +0300 |
commit | cbdbb645234f330bfa0b73e9c1bd0bbf60d73b02 (patch) | |
tree | 5b7e2c952770ec02157da34a446a0ddbbf05cf4b /app/assets/javascripts/pdf/page/index.vue | |
parent | e9c6f58e7e554776ce1935b352bc5472d656c252 (diff) |
[ci skip] Fix more eslint rules
Diffstat (limited to 'app/assets/javascripts/pdf/page/index.vue')
-rw-r--r-- | app/assets/javascripts/pdf/page/index.vue | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/app/assets/javascripts/pdf/page/index.vue b/app/assets/javascripts/pdf/page/index.vue index be38f7cc129..fcba819beba 100644 --- a/app/assets/javascripts/pdf/page/index.vue +++ b/app/assets/javascripts/pdf/page/index.vue @@ -45,24 +45,26 @@ <canvas class="pdf-page" ref="canvas" - :data-page="number" /> + :data-page="number" + > + </canvas> </template> <style> -.pdf-page { - margin: 8px auto 0 auto; - border-top: 1px #ddd solid; - border-bottom: 1px #ddd solid; - width: 100%; -} + .pdf-page { + margin: 8px auto 0 auto; + border-top: 1px #ddd solid; + border-bottom: 1px #ddd solid; + width: 100%; + } -.pdf-page:first-child { - margin-top: 0px; - border-top: 0px; -} + .pdf-page:first-child { + margin-top: 0px; + border-top: 0px; + } -.pdf-page:last-child { - margin-bottom: 0px; - border-bottom: 0px; -} + .pdf-page:last-child { + margin-bottom: 0px; + border-bottom: 0px; + } </style> |