File tree Expand file tree Collapse file tree 1 file changed +23
-8
lines changed
src/main/resources/META-INF/frontend/fc-date-picker Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,16 @@ export class FcDatePickerButtons extends ThemableMixin(LitElement) {
2727 }
2828 render ( ) {
2929 return html `
30- <but to n id= "up"
31- type = "button"
30+ <div id= "up" >
31+ <but to n type= "button"
3232 aria-label = "Increment"
3333 @click = ${ this . _clickUp } > </ butto n>
34- <butto n id= "down"
35- type = "button"
34+ </ div>
35+ <div id= "down" >
36+ <butto n type= "button"
3637 aria-label = "Decrement"
3738 @click = ${ this . _clickDown } > </ butto n>
39+ </ div>
3840 ` ;
3941 }
4042 static get styles ( ) {
@@ -45,19 +47,32 @@ export class FcDatePickerButtons extends ThemableMixin(LitElement) {
4547 align-self : stretch;
4648 justify-content : space-evenly;
4749 }
50+ div {
51+ min-height : 50% ;
52+ display : flex;
53+ padding-left : calc (0.575em + var (--lumo-border-radius-m ) / 4 - 1px );
54+ }
55+ div # up {
56+ align-items : flex-end;
57+ }
58+ div # down {
59+ align-items : flex-start;
60+ }
4861 button {
4962 padding : 0 ;
50- margin : 0 ;
5163 max-height : 0.9rem ;
52- box-sizing : content-box;
64+ line-height : 100% ;
65+ border : none;
66+ background-color : transparent;
67+ color : var (--lumo-contrast-60pct );
5368 }
5469 button ::before {
5570 display : block;
5671 }
57- # up ::before {
72+ # up button ::before {
5873 content : "\\25B2" ;
5974 }
60- # down ::before {
75+ # down button ::before {
6176 content : "\\25BC" ;
6277 }` ;
6378 }
You can’t perform that action at this time.
0 commit comments