From ae45730c96de5a895a5c1c957326a758eef3cc17 Mon Sep 17 00:00:00 2001
From: Torsten Oppermann <torsten@sgalinski.de>
Date: Mon, 25 Sep 2017 14:45:10 +0200
Subject: [PATCH] [TASK] Fixing filterr button css

---
 Resources/Private/Language/de.locallang.xlf  |  4 ++--
 Resources/Private/Language/locallang.xlf     |  2 +-
 Resources/Private/Partials/Queue/Filter.html | 12 ++++--------
 Resources/Public/StyleSheets/backend.css     |  6 ++++++
 4 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/Resources/Private/Language/de.locallang.xlf b/Resources/Private/Language/de.locallang.xlf
index 93665dc0..5f105001 100644
--- a/Resources/Private/Language/de.locallang.xlf
+++ b/Resources/Private/Language/de.locallang.xlf
@@ -18,8 +18,8 @@
 			<target>BCC (Blindempfänger, komma-separiert)</target>
 		</trans-unit>
 		<trans-unit id="backend.button_download_csv" approved="yes">
-			<source>Download csv</source>
-			<target>CSV herunterladen</target>
+			<source>Export CSV</source>
+			<target>CSV exportieren</target>
 		</trans-unit>
 		<trans-unit id="backend.button_reset" approved="yes">
 			<source>Reset Template</source>
diff --git a/Resources/Private/Language/locallang.xlf b/Resources/Private/Language/locallang.xlf
index 7280c369..a981a96b 100644
--- a/Resources/Private/Language/locallang.xlf
+++ b/Resources/Private/Language/locallang.xlf
@@ -16,7 +16,7 @@
 			<source>BCC (Blind Carbon Copy Receiver, comma separated)</source>
 		</trans-unit>
 		<trans-unit id="backend.button_download_csv">
-			<source>Download csv</source>
+			<source>Export CSV</source>
 		</trans-unit>
 		<trans-unit id="backend.button_reset">
 			<source>Reset Template</source>
diff --git a/Resources/Private/Partials/Queue/Filter.html b/Resources/Private/Partials/Queue/Filter.html
index dc0b0750..eb7a405a 100644
--- a/Resources/Private/Partials/Queue/Filter.html
+++ b/Resources/Private/Partials/Queue/Filter.html
@@ -113,18 +113,14 @@
 				</label>
 			</div>
 			<div class="form-group row">
-				<div class="col-md-4">
-					<f:form.button class="btn btn-success form-group col-xs-12 col-md-12" type="submit">
+				<div class="col-md-12">
+					<f:form.button class="filter-btn btn btn-success form-group col-xs-12 col-md-12" type="submit">
 						<f:translate key="backend.filter.filter" />
 					</f:form.button>
-				</div>
-				<div class="col-md-4">
-					<f:form.button class="btn btn-info form-group col-xs-12 col-md-12" type="submit" name="action" value="export">
+					<f:form.button class="filter-btn btn btn-info form-group col-xs-12 col-md-12" type="submit" name="action" value="export">
 						<f:translate key="backend.button_download_csv" />
 					</f:form.button>
-				</div>
-				<div class="col-md-4">
-					<f:form.button id="filter-reset-btn" class="btn btn-danger form-group col-xs-12 col-md-12" type="reset">
+					<f:form.button id="filter-reset-btn" class="filter-btn btn btn-danger form-group col-xs-12 col-md-12" type="reset">
 						<f:translate key="backend.button_reset_filter" />
 					</f:form.button>
 				</div>
diff --git a/Resources/Public/StyleSheets/backend.css b/Resources/Public/StyleSheets/backend.css
index 2f2c479a..cd2d7c15 100644
--- a/Resources/Public/StyleSheets/backend.css
+++ b/Resources/Public/StyleSheets/backend.css
@@ -74,3 +74,9 @@
 .recordlist-mail-unsent {
 	background-color: #CCC !important;
 }
+
+.filter-btn {
+	width: auto;
+	min-width: 100px;
+	margin-right: 10px;
+}
\ No newline at end of file
-- 
GitLab