File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -70,15 +70,14 @@ registerStyles(
7070 text-overflow : ellipsis;
7171 }
7272
73- ::slotted (.toolbar-button ){
73+ ::slotted (.toolbar-button ) {
7474 height : var (--lumo-size-m );
7575 border-radius : var (--lumo-border-radius , var (--lumo-border-radius-m ));
7676 color : var (--lumo-contrast-80pct );
7777 transition : background-color 100ms , color 100ms ;
7878 margin : var (--lumo-space-xs );
7979 background : transparent;
8080 border : none;
81- padding-top : 0.3em ;
8281 }
8382
8483 ::slotted (.toolbar-button [disabled ]) {
@@ -100,11 +99,6 @@ registerStyles(
10099 box-shadow : 0 0 0 2px var (--lumo-primary-color-50pct );
101100 }
102101
103- ::slotted (.toolbar-button ) {
104- font-family : 'lumo-icons' ;
105- font-size : var (--lumo-icon-size-m );
106- }
107-
108102 .page {
109103 padding : var (--lumo-space-m );
110104 padding-bottom : 0 ;
Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ import '@vaadin/vaadin-lumo-styles/font-icons.js';
77registerStyles (
88 'vaadin-icon' ,
99 css `
10+ : host ::before {
11+ font-size : var (--lumo-icon-size-m );
12+ font-family : 'lumo-icons' ;
13+ line-height : 1 ;
14+ }
15+
1016 : host (.previous-page-button-icon )::before {
1117 content : var (--pdf-viewer-previous-page-button-icon , var (--lumo-icons-angle-up ));
1218 }
You can’t perform that action at this time.
0 commit comments