Skip to content

Commit

Permalink
Fix smooth transition for resource section and update resource dots c…
Browse files Browse the repository at this point in the history
…entering
  • Loading branch information
Lemonnycodes committed Nov 22, 2024
1 parent a4a0ce5 commit 2efd00b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Projects/WBS/WBSDetail/wbs.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,15 @@
justify-content: center; /* Centers horizontally */
align-items: center; /* Centers vertically */
gap: 6px;
overflow-x: auto; /* Ensures it takes up the full height of the cell */
overflow: hidden;
transition: max-height 0.3s ; /* Smooth transition */
max-width: 100%;
}

.resourceMoreToggle.expanded {
max-height: 1000px; /* Large enough to accommodate content dynamically */
padding: 10px; /* Optional: add spacing during expansion */
}
.resourceMore {
display: none;
justify-content: center; /* Centers the element horizontally */
Expand Down

0 comments on commit 2efd00b

Please sign in to comment.