File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
report-app/src/app/shared/score Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 44 align-items : center ;
55 justify-content : center ;
66 color : var (--text-on-status );
7+ flex-shrink : 0 ;
78}
89
910:host (.excellent-score ) {
5556 font-size : 0.4rem ;
5657 }
5758}
59+
60+ :host (.tiny ) {
61+ width : 26px ;
62+ height : 26px ;
63+ font-size : 0.7rem ;
64+ border-radius : 6px ;
65+
66+ .label {
67+ font-size : 0.4rem ;
68+ }
69+ }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import {formatScore} from '../scoring';
1717export class Score {
1818 readonly total = input . required < number > ( ) ;
1919 readonly max = input . required < number > ( ) ;
20- readonly size = input < 'small' | 'medium' | 'large' > ( 'medium' ) ;
20+ readonly size = input < 'tiny' | ' small' | 'medium' | 'large' > ( 'medium' ) ;
2121 readonly label = input < string > ( '' ) ;
2222
2323 protected formattedScore = computed ( ( ) => formatScore ( this . total ( ) , this . max ( ) ) ) ;
You can’t perform that action at this time.
0 commit comments