@vaadin-component-factory/vcf-pdf-viewer 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin-component-factory/vcf-pdf-viewer",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Polymer element providing pdf viewer",
5
5
  "main": "vcf-pdf-viewer.js",
6
6
  "repository": {
@@ -287,7 +287,7 @@ class PdfViewerElement extends
287
287
  }
288
288
 
289
289
  static get version() {
290
- return '3.0.0';
290
+ return '3.0.1';
291
291
  }
292
292
 
293
293
  static get properties() {
@@ -70,7 +70,7 @@ registerStyles(
70
70
  text-overflow: ellipsis;
71
71
  }
72
72
 
73
- ::slotted(.toolbar-button){
73
+ ::slotted(.toolbar-button) {
74
74
  height: var(--lumo-size-m);
75
75
  border-radius: var(--lumo-border-radius, var(--lumo-border-radius-m));
76
76
  color: var(--lumo-contrast-80pct);
@@ -78,7 +78,6 @@ registerStyles(
78
78
  margin: var(--lumo-space-xs);
79
79
  background: transparent;
80
80
  border: none;
81
- padding-top: 0.3em;
82
81
  }
83
82
 
84
83
  ::slotted(.toolbar-button[disabled]) {
@@ -100,11 +99,6 @@ registerStyles(
100
99
  box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct);
101
100
  }
102
101
 
103
- ::slotted(.toolbar-button) {
104
- font-family: 'lumo-icons';
105
- font-size: var(--lumo-icon-size-m);
106
- }
107
-
108
102
  .page {
109
103
  padding: var(--lumo-space-m);
110
104
  padding-bottom: 0;
@@ -7,6 +7,12 @@ import '@vaadin/vaadin-lumo-styles/font-icons.js';
7
7
  registerStyles(
8
8
  'vaadin-icon',
9
9
  css`
10
+ :host::before {
11
+ font-size: var(--lumo-icon-size-m);
12
+ font-family: 'lumo-icons';
13
+ line-height: 1;
14
+ }
15
+
10
16
  :host(.previous-page-button-icon)::before {
11
17
  content: var(--pdf-viewer-previous-page-button-icon, var(--lumo-icons-angle-up));
12
18
  }