Skip to content

Commit ae5149f

Browse files
committed
style(settings): align icons at legacy help navigation
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
1 parent 40c72d3 commit ae5149f

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

apps/settings/css/help.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
overflow: hidden !important;
88
}
99

10+
.help-list__link {
11+
background-position: left center;
12+
}
13+
1014
.help-list__text {
1115
margin-left: 24px;
1216
}

apps/settings/templates/help.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div id="app-navigation" role="navigation" tabindex="0">
1010
<ul>
1111
<li>
12-
<a class="icon-user <?php if ($_['mode'] === 'user') {
12+
<a class="help-list__link icon-user <?php if ($_['mode'] === 'user') {
1313
p('active');
1414
} ?>" <?php if ($_['mode'] === 'user') {
1515
print_unescaped('aria-current="page"');
@@ -22,7 +22,7 @@
2222
</li>
2323
<?php if ($_['admin']) { ?>
2424
<li>
25-
<a class="icon-user-admin <?php if ($_['mode'] === 'admin') {
25+
<a class="help-list__link icon-user-admin <?php if ($_['mode'] === 'admin') {
2626
p('active');
2727
} ?>" <?php if ($_['mode'] === 'admin') {
2828
print_unescaped('aria-current="page"');
@@ -36,14 +36,14 @@
3636
<?php } ?>
3737

3838
<li>
39-
<a href="https://docs.nextcloud.com" class="icon-category-office" target="_blank" rel="noreferrer noopener">
39+
<a href="https://docs.nextcloud.com" class="help-list__link icon-category-office" target="_blank" rel="noreferrer noopener">
4040
<span class="help-list__text">
4141
<?php p($l->t('Documentation')); ?>
4242
</span>
4343
</a>
4444
</li>
4545
<li>
46-
<a href="https://help.nextcloud.com" class="icon-comment" target="_blank" rel="noreferrer noopener">
46+
<a href="https://help.nextcloud.com" class="help-list__link icon-comment" target="_blank" rel="noreferrer noopener">
4747
<span class="help-list__text">
4848
<?php p($l->t('Forum')); ?>
4949
</span>

0 commit comments

Comments
 (0)