Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix overlapping in the help settings section
Signed-off-by: szaimen <[email protected]>
  • Loading branch information
szaimen committed Dec 17, 2021
commit 526f2a140fcebf8146b2d81c8111241c75d9697f
4 changes: 4 additions & 0 deletions apps/settings/css/help.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
overflow: hidden !important;
}

.help-list__text {
margin-left: 24px;
}

.help-iframe {
width: 100%;
height: 100%;
Expand Down
16 changes: 12 additions & 4 deletions apps/settings/templates/help.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']) { ?>
Expand All @@ -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>
Expand Down