Skip to content

Commit

Permalink
fix(Role Portlet): Make the view roles sidebar scrollable (#31017)
Browse files Browse the repository at this point in the history
This pull request includes changes to the
`core-web/libs/dotcms-scss/jsp/scss/backend/dot-admin/portlets/_view-roles.scss`
file to improve the layout and usability of the roles view in the admin
portlet. The most important changes include adding overflow handling and
adjusting the height and padding of elements.

Layout improvements:

* Added `overflow: auto` to `.view-roles` and `.view-roles
.portlet-sidebar` to handle content overflow.
* Changed the height of `.view-roles__tree` from `100%` to `auto` and
added padding at the bottom for better spacing.

### Video

https://github.com/user-attachments/assets/db0d5412-90ec-407d-8735-2d9e12e00bbc
  • Loading branch information
rjvelazco authored Dec 27, 2024
1 parent cf6f800 commit afa9dfa
Show file tree
Hide file tree
Showing 2 changed files with 274 additions and 251 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.view-roles,
.view-roles .portlet-sidebar {
height: 100%;
overflow: auto;
}

.view-roles {
Expand Down Expand Up @@ -31,7 +32,8 @@
}

.view-roles__tree {
height: 100%;
height: auto;
padding-bottom: $spacing-2;
}

.view-roles__tabs,
Expand Down
Loading

0 comments on commit afa9dfa

Please sign in to comment.