Merge pull request #46773 from nextcloud/fix/noid/settings-iframe-icons

style(settings): align icons at legacy help navigation
pull/46793/head
Maksim Sukharev 2024-07-26 18:15:24 +07:00 committed by GitHub
commit 602ef72477
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 5 deletions

@ -7,8 +7,16 @@
overflow: hidden !important;
}
.help-list__link {
display: flex;
align-items: center;
height: var(--default-clickable-area);
margin: 0 8px;
background-position: left center;
}
.help-list__text {
margin-left: 24px;
margin-left: 20px;
}
.help-iframe {

@ -9,7 +9,7 @@
<div id="app-navigation" role="navigation" tabindex="0">
<ul>
<li>
<a class="icon-user <?php if ($_['mode'] === 'user') {
<a class="help-list__link icon-user <?php if ($_['mode'] === 'user') {
p('active');
} ?>" <?php if ($_['mode'] === 'user') {
print_unescaped('aria-current="page"');
@ -22,7 +22,7 @@
</li>
<?php if ($_['admin']) { ?>
<li>
<a class="icon-user-admin <?php if ($_['mode'] === 'admin') {
<a class="help-list__link icon-user-admin <?php if ($_['mode'] === 'admin') {
p('active');
} ?>" <?php if ($_['mode'] === 'admin') {
print_unescaped('aria-current="page"');
@ -36,14 +36,14 @@
<?php } ?>
<li>
<a href="https://docs.nextcloud.com" class="icon-category-office" target="_blank" rel="noreferrer noopener">
<a href="https://docs.nextcloud.com" class="help-list__link icon-category-office" target="_blank" rel="noreferrer noopener">
<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">
<a href="https://help.nextcloud.com" class="help-list__link icon-comment" target="_blank" rel="noreferrer noopener">
<span class="help-list__text">
<?php p($l->t('Forum')); ?>
</span>