@@ -588,24 +588,26 @@ onMounted(async () => {
588588 @click= " createNewOrder"
589589 / >
590590 < / div>
591- < div class = " show-drafts-toggle" >
592- < Checkbox
593- v- model= " showDrafts"
594- input- id= " orders-show-drafts"
595- binary
596- @change= " toggleShowDrafts"
597- / >
598- < label for = " orders-show-drafts" > {{ _ (' ms3_orders_show_drafts' ) }}< / label>
599- < / div>
600- < div class = " grid-stats" : title= " _('orders_stat_tooltip')" >
601- < span class = " stat-item" >
602- < i class = " pi pi-calendar" >< / i>
603- {{ _ (' orders_month' ) }}: < strong> {{ stats .month_total }}< / strong>
604- < / span>
605- < span class = " stat-item" >
606- < i class = " pi pi-wallet" >< / i>
607- {{ _ (' orders_month_sum' ) }}: < strong> {{ stats .month_sum }}< / strong>
608- < / span>
591+ < div class = " grid-header-right" >
592+ < div class = " grid-stats" : title= " _('orders_stat_tooltip')" >
593+ < span class = " stat-item" >
594+ < i class = " pi pi-calendar" >< / i>
595+ {{ _ (' orders_month' ) }}: < strong> {{ stats .month_total }}< / strong>
596+ < / span>
597+ < span class = " stat-item" >
598+ < i class = " pi pi-wallet" >< / i>
599+ {{ _ (' orders_month_sum' ) }}: < strong> {{ stats .month_sum }}< / strong>
600+ < / span>
601+ < / div>
602+ < div class = " show-drafts-toggle" >
603+ < Checkbox
604+ v- model= " showDrafts"
605+ input- id= " orders-show-drafts"
606+ binary
607+ @change= " toggleShowDrafts"
608+ / >
609+ < label for = " orders-show-drafts" > {{ _ (' ms3_orders_show_drafts' ) }}< / label>
610+ < / div>
609611 < / div>
610612 < / div>
611613 < / template>
@@ -869,10 +871,17 @@ onMounted(async () => {
869871 gap: 1rem ;
870872}
871873
874+ .grid - header- right {
875+ display: flex;
876+ align- items: center;
877+ gap: 1 .5rem ;
878+ margin- left: auto;
879+ font- size: 1rem ;
880+ }
881+
872882.grid - stats {
873883 display: flex;
874884 gap: 1 .5rem ;
875- font- size: 0 .9rem ;
876885 color: var (-- ms3- text- muted);
877886 cursor: help;
878887}
@@ -936,11 +945,13 @@ onMounted(async () => {
936945 display: flex;
937946 align- items: center;
938947 gap: 0 .5rem ;
948+ white- space: nowrap;
939949}
940950
941951.show - drafts- toggle label {
942952 cursor: pointer;
943953 user- select: none;
954+ font- size: 1rem ;
944955}
945956
946957/* Bulk actions toolbar */
0 commit comments