From 7c1a5f39f735582ef8a96b437da3cd1447684634 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 4 Dec 2018 17:25:38 +0100 Subject: [PATCH] Fix layout of "i" in admin settings of federated sharing Signed-off-by: Morris Jobke --- apps/federatedfilesharing/css/settings-admin.css | 3 +++ apps/federatedfilesharing/templates/settings-admin.php | 7 ++++--- settings/css/settings.scss | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 apps/federatedfilesharing/css/settings-admin.css diff --git a/apps/federatedfilesharing/css/settings-admin.css b/apps/federatedfilesharing/css/settings-admin.css new file mode 100644 index 0000000000..c16986e68a --- /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 1b9b88dc03..fbbeecd88b 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'); ?> @@ -9,10 +10,10 @@ script('federatedfilesharing', 'settings-admin');

t('Federated Cloud Sharing'));?> -

+

t('Adjust how people can share between servers.')); ?>

diff --git a/settings/css/settings.scss b/settings/css/settings.scss index b85eaefcf5..d384ef2657 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 {