@@ -98,9 +98,9 @@ <h3 class="text-base font-medium mt-4 mb-2 dark:text-gray-100">
9898@foreach (var c in Columns.Where(c => c.Filters.Count > 0))
9999{
100100< fieldset class ="group pr-4 sm:pr-6 lg:pr-8 ">
101- < legend class ="block font-medium flex justify-between w-full ">
101+ < legend class ="flex justify-between w-full font-medium ">
102102< span > @c.Label</ span >
103- < span class ="block w-6 flex justify-end ">
103+ < span class ="w-6 flex justify-end ">
104104< span class ="hidden group-hover:inline ">
105105< button @onclick ="_ => removeFilters(c) " title =@($ "Clear all {c.Title} filters")
106106class="flex-shrink-0 ml-0.5 h-4 w-4 rounded-full inline-flex items-center justify-center text-red-600 hover:bg-red-200 hover:text-red-500 focus:outline-none focus:bg-red-500 focus:text-white">
@@ -1251,7 +1251,16 @@ <h1 class="flex">
12511251{
12521252< div class ="flex justify-between ">
12531253< label for =@Input.Id class =@ClassNames( "block text-sm font-medium text-gray-700 dark:text-gray-300", LabelClass)> @UseLabel</ label >
1254- < span class ="text-sm text-gray-500 dark:text-gray-400 pr-3 "> @Value</ span >
1254+ @if (!string.IsNullOrEmpty(Value))
1255+ {
1256+ < div class ="flex items-center ">
1257+ < span class ="text-sm text-gray-500 dark:text-gray-400 mr-1 "> @Value</ span >
1258+ < button @onclick ="Clear " type ="button " title ="clear " class ="mr-1 rounded-md text-gray-400 dark:text-gray-500 hover:text-gray-500 dark:hover:text-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 dark:ring-offset-black ">
1259+ < span class ="sr-only "> Clear</ span >
1260+ < svg class ="h-4 w-4 " xmlns ="http://www.w3.org/2000/svg " fill ="none " viewBox ="0 0 24 24 " stroke-width ="1.5 " stroke ="currentColor " aria-hidden ="true "> < path stroke-linecap ="round " stroke-linejoin ="round " d ="M6 18L18 6M6 6l12 12 "> </ path > </ svg >
1261+ </ button >
1262+ </ div >
1263+ }
12551264</ div >
12561265}
12571266@if (Property.Ref != null)
0 commit comments