diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
index 70df204a696d0d102809999247181efaccc8a1ea..9c8c4a666304d61bceaad6f71753a17878dde996 100644
--- a/apps/files_sharing/css/public.css
+++ b/apps/files_sharing/css/public.css
@@ -131,6 +131,9 @@ thead {
 
 #remote_address {
 	width: 200px;
+
+	margin-right: 4px;
+	height: 31px;
 }
 
 #save-button-confirm {
@@ -138,8 +141,8 @@ thead {
 	background-color: transparent;
 	border: none;
 	margin: 2px 4px !important;
-	right: 4px;
-	box-shadow: none;
+	right: 7px;
+	top: -8px;
 	height: 30px;
 }
 
diff --git a/core/css/header.scss b/core/css/header.scss
index a46326e6a446c3ae63ab6c054474ebf694c07e3b..a8f72c7129fbfac99f1ffbf759905d8b27b25dc6 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -45,7 +45,6 @@
 	right: 0;
 	z-index: 2000;
 	height: 45px;
-	line-height: 2.5em;
 	background-color: #0082c9;
 	box-sizing: border-box;
 	justify-content: space-between;