-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently, the entire `CanvasForm` scrolls, forcing the title and the close icon to be lost. This commit makes the `Title` sticky, so it can always be visible while the `CanvasForm` can be scrolled. fix: #682
- Loading branch information
Showing
5 changed files
with
120 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,7 @@ form[data-testid='autoform'] > div { | |
display: inherit; | ||
gap: inherit; | ||
} | ||
|
||
.canvas-form { | ||
overflow: scroll; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 13 additions & 2 deletions
15
packages/ui/src/components/Visualization/Canvas/CanvasSideBar.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
img[class^='sidebar-icon-'] { | ||
max-height: 40px; | ||
.canvas-sidebar { | ||
overflow: scroll; | ||
max-height: 100%; | ||
|
||
img[class^='sidebar-icon-'] { | ||
max-height: 40px; | ||
} | ||
|
||
&__body { | ||
display: flex; | ||
flex-direction: column; | ||
flex-grow: 1; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters