From 3380b867b80dc2ba8dd3623abf04498430ab148f Mon Sep 17 00:00:00 2001
From: nathan <nathangray.bsc+github@gmail.com>
Date: Wed, 7 Sep 2022 09:54:09 -0600
Subject: [PATCH] Fix some overlap styling issues with sub-headers

In particular, call list buttons and most date filters were overlapping the row count
---
 api/js/etemplate/et2_extension_nextmatch.ts | 2 +-
 api/templates/default/etemplate2.css        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/api/js/etemplate/et2_extension_nextmatch.ts b/api/js/etemplate/et2_extension_nextmatch.ts
index b8dc7c9d9d..81b18c2654 100644
--- a/api/js/etemplate/et2_extension_nextmatch.ts
+++ b/api/js/etemplate/et2_extension_nextmatch.ts
@@ -3442,7 +3442,7 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext
 		this.count_total = jQuery(document.createElement("span"))
 			.appendTo(this.count)
 			.text(settings.total + "");
-		this.count.prependTo(this.right_div);
+		this.count.appendTo(this.row_div);
 
 		// Favorites
 		this._setup_favorites(settings['favorites']);
diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css
index d535905b4a..dbcd1593da 100644
--- a/api/templates/default/etemplate2.css
+++ b/api/templates/default/etemplate2.css
@@ -2196,9 +2196,9 @@ lion-validation-feedback[type] {
     border: 1px solid rgb(212, 212, 216);   /* --sl-input-border-color */
     text-align: center;
     border-radius: 3px;
-    float: right;
     position: relative;
     min-width: 40px;
+    order: 99;
 }
 
 .nextmatch_header .header_count span {