File tree Expand file tree Collapse file tree
src/components/AppNavigationCounter Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848
4949export default {
5050 name: ' AppNavigationCounter' ,
51+
5152 props: {
5253 highlighted: {
5354 type: Boolean ,
@@ -60,19 +61,22 @@ export default {
6061
6162<style lang="scss" scoped>
6263.app-navigation-entry__counter {
64+ font-size : calc (var (--default-font-size ) * .8 );
6365 overflow : hidden ;
66+ width : fit-content ;
6467 max-width : $clickable-area ;
65- margin : 4px ;
66- padding : 0 4px ;
6768 text-align : center ;
6869 text-overflow : ellipsis ;
6970 line-height : 1em ;
71+ padding : 4px 8px ;
72+ border-radius : var (--border-radius-pill );
73+ background-color : var (--color-background-darker );
7074
7175 & --highlighted {
7276 padding : 4px 6px ;
7377 color : var (--color-primary-text );
74- border-radius : 10px ;
7578 background-color : var (--color-primary );
7679 }
7780}
81+
7882 </style >
You can’t perform that action at this time.
0 commit comments