Skip to content

Commit

Permalink
fix(edit-content) fix scroll jump in selected categories sidebar (#29366
Browse files Browse the repository at this point in the history
)

### Proposed Changes
*  fix scroll jump in selected categories sidebar

### Checklist
- [ ] Tests
- [ ] Translations
- [ ] Security Implications Contemplated (add notes if applicable)

### Additional Info
** any additional useful context or info **

### Screenshots


https://github.com/user-attachments/assets/fb2b3cee-7403-4363-ac88-577cfbc818f1
  • Loading branch information
oidacra authored Jul 26, 2024
1 parent 6dfe744 commit e452f3d
Show file tree
Hide file tree
Showing 3 changed files with 206 additions and 206 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,5 @@ dotCMS/settings.gradle
dotCMS/dependencies.gradle

!/examples/nextjs/.npmrc

.nx/
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@use "variables" as *;

$default-scroll-width: 17px;

.category-field__header {
align-items: center;
flex-wrap: wrap;
Expand Down Expand Up @@ -41,6 +43,7 @@
flex: 0 0 25%;
gap: $spacing-1;
padding: $spacing-3;
padding-right: calc($spacing-3 - $default-scroll-width);
}

.category-field__categories,
Expand All @@ -53,6 +56,7 @@

.category-field__selected-categories-list {
overflow-y: auto;
scrollbar-gutter: stable;
}

:host ::ng-deep .p-sidebar-content {
Expand Down
Loading

0 comments on commit e452f3d

Please sign in to comment.