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 authored and backportbot[bot] committed Dec 20, 2021
commit f16b00ae2301f84fb7e2e07c5211cfae53e91708
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