Merge pull request #30345 from nextcloud/backport/30322/stable22

[stable22] fix overlapping in the help settings section
This commit is contained in:
Louis 2021-12-20 11:32:08 +01:00 committed by GitHub
commit 819ea39db5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 4 deletions

View file

@ -2,6 +2,10 @@
overflow: hidden !important;
}
.help-list__text {
margin-left: 24px;
}
.help-iframe {
width: 100%;
height: 100%;

View file

@ -8,7 +8,9 @@
p('active');
} ?>"
href="<?php print_unescaped($_['urlUserDocs']); ?>">
<?php p($l->t('User documentation')); ?>
<span class="help-list__text">
<?php p($l->t('User documentation')); ?>
</span>
</a>
</li>
<?php if ($_['admin']) { ?>
@ -17,19 +19,25 @@
p('active');
} ?>"
href="<?php print_unescaped($_['urlAdminDocs']); ?>">
<?php p($l->t('Administrator documentation')); ?>
<span class="help-list__text">
<?php p($l->t('Administrator documentation')); ?>
</span>
</a>
</li>
<?php } ?>
<li>
<a href="https://docs.nextcloud.com" class="icon-category-office" target="_blank" rel="noreferrer noopener">
<?php p($l->t('Documentation')); ?>
<span class="help-list__text">
<?php p($l->t('Documentation')); ?>
</span>
</a>
</li>
<li>
<a href="https://help.nextcloud.com" class="icon-comment" target="_blank" rel="noreferrer noopener">
<?php p($l->t('Forum')); ?>
<span class="help-list__text">
<?php p($l->t('Forum')); ?>
</span>
</a>
</li>
</div>