From 587fc1aff35464c2c3fbdde7a752801df62fa41e Mon Sep 17 00:00:00 2001
From: Morris Jobke <morris.jobke@gmail.com>
Date: Thu, 28 Nov 2013 21:36:43 +0100
Subject: [PATCH] Fix resize issue for trash button in chrome and overflowing
 spinner in .update class

fixes #6108
---
 apps/files/css/files.css | 2 +-
 core/css/styles.css      | 4 ++--
 core/templates/login.php | 2 ++
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index e96fa64815..2fc86ca537 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -14,7 +14,7 @@
 	padding: 0 !important; /* override default control bar button padding */
 }
 #trash {
-	margin-right: 12px;
+	margin-right: 8px;
 	float: right;
 	z-index: 1010;
 	padding: 10px;
diff --git a/core/css/styles.css b/core/css/styles.css
index 859f11ff0a..13888106f7 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -201,9 +201,9 @@ input[type="submit"].enabled {
 	-webkit-box-sizing: border-box;
 	box-sizing: border-box;
 	position: fixed;
+	right: 0;
+	left: 80px;
 	height: 44px;
-	width: 100%;
-	padding-right: 75px;
 	margin: 0;
 	background: #eee;
 	border-bottom: 1px solid #e7e7e7;
diff --git a/core/templates/login.php b/core/templates/login.php
index b81128a326..e697ebe532 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -21,6 +21,8 @@
 		<p id="message" class="hidden">
 			<img class="float-spinner" src="<?php p(\OCP\Util::imagePath('core', 'loading-dark.gif'));?>"/>
 			<span id="messageText"></span>
+			<!-- the following div ensures that the spinner is always inside the #message div -->
+			<div style="clear: both;"></div>
 		</p>
 		<p class="infield grouptop">
 			<input type="text" name="user" id="user" placeholder=""
-- 
GitLab