Skip to content

Commit

Permalink
Merge pull request #5981 from nextcloud-libraries/backport/5963/next
Browse files Browse the repository at this point in the history
[next] fix(NcAppSettingsDialog): Adjust navigation entries to match Nextcloud 30 design
  • Loading branch information
susnux authored Aug 19, 2024
2 parents d8aac2e + 0b6dc3e commit f390f22
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/components/NcAppSettingsDialog/NcAppSettingsDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -387,22 +387,22 @@ export default {
.app-settings {
:deep &__navigation {
min-width: 200px;
margin-right: 20px;
margin-right: calc(4 * var(--default-grid-baseline));
overflow-x: hidden;
overflow-y: auto;
position: relative;
}
:deep &__content {
box-sizing: border-box;
padding-inline: 16px;
padding-inline: calc(4 * var(--default-grid-baseline));
}
}

.navigation-list {
height: 100%;
box-sizing: border-box;
overflow-y: auto;
padding: 12px;
padding: calc(3 * var(--default-grid-baseline));

&__link {
display: flex;
Expand All @@ -411,9 +411,9 @@ export default {
height: var(--default-clickable-area);
margin: 4px 0;
line-height: var(--default-clickable-area);
border-radius: var(--border-radius-pill);
border-radius: var(--border-radius-element, var(--border-radius-pill));
font-weight: bold;
padding: 0 20px;
padding: 0 calc(4 * var(--default-grid-baseline));
cursor: pointer;
white-space: nowrap;
text-overflow: ellipsis;
Expand All @@ -431,16 +431,16 @@ export default {
}

&--icon {
padding-inline-start: 8px;
gap: 4px;
padding-inline-start: calc(2 * var(--default-grid-baseline));
gap: var(--default-grid-baseline);
}

&-icon {
display: flex;
justify-content: center;
align-content: center;
width: 36px;
max-width: 36px;
width: calc(var(--default-clickable-area) - 2 * var(--default-grid-baseline));
max-width: calc(var(--default-clickable-area) - 2 * var(--default-grid-baseline));
}
}
}
Expand Down

0 comments on commit f390f22

Please sign in to comment.