From 4f67c0c445e656a150f93f9a7538cc319032b966 Mon Sep 17 00:00:00 2001
From: Hamza HRAMCHI <hamza.hramchi@xelians.fr>
Date: Tue, 2 Aug 2022 19:24:05 +0200
Subject: [PATCH] FIX #19700 TIME 0:15 set button type + fix css

---
 .../criteria-tool.component.html              |  6 +++---
 .../search-result-list.component.scss         | 19 -------------------
 2 files changed, 3 insertions(+), 22 deletions(-)

diff --git a/src/frontend/app/search/criteria-tool/criteria-tool.component.html b/src/frontend/app/search/criteria-tool/criteria-tool.component.html
index 442e6c932d6..cdff09f3b4b 100644
--- a/src/frontend/app/search/criteria-tool/criteria-tool.component.html
+++ b/src/frontend/app/search/criteria-tool/criteria-tool.component.html
@@ -1,6 +1,6 @@
 <form (ngSubmit)="getCurrentCriteriaValues()" #criteriaFormUp="ngForm">
     <div class="row">
-        <div class="col-md-8">
+        <div class="col-md-8" style="padding-right: 10px;">
             <mat-form-field *ngIf="!adminMode" floatLabel="never" class="basket-search">
                 <input class="metaSearch" type="text" matInput [formControl]="searchTermControl" [title]="'lang.quickSearchTarget' | translate"
                     [placeholder]="'lang.quickSearchTarget' | translate">
@@ -9,7 +9,7 @@
                 </button>
             </mat-form-field>
         </div>
-        <div class="col-md-4" style="display: flex;">
+        <div class="col-md-4" style="display: flex; padding-left: 10px;">
             <div class="orderTool">
                 <mat-form-field class="basket-order">
                     <mat-icon matPrefix class="fa fa-list"></mat-icon>
@@ -22,7 +22,7 @@
                 </mat-form-field>
             </div>
             <div class="ascDescTool">
-                <button [disabled]="this.listProperties.order == '' || data.length == 0"
+                <button type="button" [disabled]="this.listProperties.order == '' || data.length == 0"
                     [style.opacity]="this.listProperties.order == '' ? '0.2' : '1'" mat-fab
                     [title]="this.listProperties.orderDir == 'DESC' ? ('lang.descOrder' | translate) : ('lang.ascOrder' | translate)"
                     style="color: rgba(0,0,0,0.38);" (click)="changeOrderDir();">
diff --git a/src/frontend/app/search/result-list/search-result-list.component.scss b/src/frontend/app/search/result-list/search-result-list.component.scss
index ebcee2a4b58..0864e06d6eb 100644
--- a/src/frontend/app/search/result-list/search-result-list.component.scss
+++ b/src/frontend/app/search/result-list/search-result-list.component.scss
@@ -45,16 +45,6 @@
     cursor: pointer;
 }
 
-.filtersContent {
-    width: 100%;
-    display: flex;
-
-    .orderTool {
-        flex: 1;
-    }
-}
-
-
 .basket-order {
     color: white;
     width: 300px;
@@ -102,15 +92,6 @@
     }
 }
 
-.ascDescTool {
-    .mat-fab {
-        background: #135F7F;
-        border: solid 2px white;
-        color: white !important;
-        box-shadow: none;
-    }
-}
-
 .integratedContent {
     height: 90%;
     overflow: auto;
-- 
GitLab