Skip to content

Commit d031bd0

Browse files
authored
Merge pull request #12829 from nextcloud/backport/12823/stable15
[stable15] Fix layout of "i" in admin settings of federated sharing
2 parents 9166db6 + 81fd9ca commit d031bd0

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#fileSharingSettings h2 {
2+
display: inline-block;
3+
}

apps/federatedfilesharing/templates/settings-admin.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22
/** @var \OCP\IL10N $l */
33
/** @var array $_ */
44
script('federatedfilesharing', 'settings-admin');
5+
style('federatedfilesharing', 'settings-admin');
56
?>
67

78
<?php if($_['internalOnly'] === false): ?>
89

910
<div id="fileSharingSettings" class="section">
1011
<h2>
1112
<?php p($l->t('Federated Cloud Sharing'));?>
12-
<a target="_blank" rel="noreferrer noopener" class="icon-info svg"
13-
title="<?php p($l->t('Open documentation'));?>"
14-
href="<?php p(link_to_docs('admin-sharing-federated')); ?>"></a>
1513
</h2>
14+
<a target="_blank" rel="noreferrer noopener" class="icon-info svg"
15+
title="<?php p($l->t('Open documentation'));?>"
16+
href="<?php p(link_to_docs('admin-sharing-federated')); ?>"></a>
1617

1718
<p class="settings-hint"><?php p($l->t('Adjust how people can share between servers.')); ?></p>
1819

settings/css/settings.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ table.grid td.date {
12381238

12391239
.icon-info {
12401240
padding: 11px 20px;
1241-
vertical-align: text-bottom;
1241+
vertical-align: super;
12421242
}
12431243

12441244
#shareAPI h2, #encryptionAPI h2, #mail_general_settings h2 {

0 commit comments

Comments
 (0)