Move documentation link in relation to the heading

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2018-04-17 18:49:08 +02:00
parent 8b0c6c6df1
commit 2b840250c3
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
3 changed files with 19 additions and 5 deletions

View File

@ -6,11 +6,14 @@ script('federatedfilesharing', 'settings-admin');
<?php if($_['internalOnly'] === false): ?>
<div id="fileSharingSettings" class="followupsection">
<h3><?php p($l->t('Federated Cloud Sharing'));?></h3>
<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>
<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>
<p class="settings-hint"><?php p($l->t('Adjust how people can share between servers.')); ?></p>
<p>

View File

@ -26,3 +26,7 @@
vertical-align: middle;
margin-left: 10px;
}
#ocFederationAddServer #serverUrl {
width: 300px;
}

View File

@ -886,6 +886,13 @@ span.version {
&:not(:nth-child(2)) {
border-top: 1px solid $color-border;
}
/* correctly display help icons next to headings */
h2 .icon-info {
padding: 6px 20px;
vertical-align: text-bottom;
display: inline-block;
}
}
.personal-settings-setting-box .section {