summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-12-04 17:25:38 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-12-04 17:32:13 +0100
commit7c1a5f39f735582ef8a96b437da3cd1447684634 (patch)
treec140241bfcfdd2055468bad01d90b70106ac3476
parent441496a5a579a30d21c9545d32429281de66bd24 (diff)
downloadnextcloud-server-7c1a5f39f735582ef8a96b437da3cd1447684634.tar.gz
nextcloud-server-7c1a5f39f735582ef8a96b437da3cd1447684634.zip
Fix layout of "i" in admin settings of federated sharing
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r--apps/federatedfilesharing/css/settings-admin.css3
-rw-r--r--apps/federatedfilesharing/templates/settings-admin.php7
-rw-r--r--settings/css/settings.scss2
3 files changed, 8 insertions, 4 deletions
diff --git a/apps/federatedfilesharing/css/settings-admin.css b/apps/federatedfilesharing/css/settings-admin.css
new file mode 100644
index 00000000000..c16986e68af
--- /dev/null
+++ b/apps/federatedfilesharing/css/settings-admin.css
@@ -0,0 +1,3 @@
+#fileSharingSettings h2 {
+ display: inline-block;
+}
diff --git a/apps/federatedfilesharing/templates/settings-admin.php b/apps/federatedfilesharing/templates/settings-admin.php
index 1b9b88dc03e..fbbeecd88bf 100644
--- a/apps/federatedfilesharing/templates/settings-admin.php
+++ b/apps/federatedfilesharing/templates/settings-admin.php
@@ -2,6 +2,7 @@
/** @var \OCP\IL10N $l */
/** @var array $_ */
script('federatedfilesharing', 'settings-admin');
+style('federatedfilesharing', 'settings-admin');
?>
<?php if($_['internalOnly'] === false): ?>
@@ -9,10 +10,10 @@ script('federatedfilesharing', 'settings-admin');
<div id="fileSharingSettings" class="section">
<h2>
<?php p($l->t('Federated Cloud Sharing'));?>
- <a target="_blank" rel="noreferrer noopener" class="icon-info svg"
- title="<?php p($l->t('Open documentation'));?>"
- href="<?php p(link_to_docs('admin-sharing-federated')); ?>"></a>
</h2>
+ <a target="_blank" rel="noreferrer noopener" class="icon-info svg"
+ title="<?php p($l->t('Open documentation'));?>"
+ href="<?php p(link_to_docs('admin-sharing-federated')); ?>"></a>
<p class="settings-hint"><?php p($l->t('Adjust how people can share between servers.')); ?></p>
diff --git a/settings/css/settings.scss b/settings/css/settings.scss
index b85eaefcf5f..d384ef26577 100644
--- a/settings/css/settings.scss
+++ b/settings/css/settings.scss
@@ -1238,7 +1238,7 @@ table.grid td.date {
.icon-info {
padding: 11px 20px;
- vertical-align: text-bottom;
+ vertical-align: super;
}
#shareAPI h2, #encryptionAPI h2, #mail_general_settings h2 {