Expand script names to take full available width
This commit improves consistency in the UI by ensuring that all nodes in the tree component expand to take full available width. This approach eliminates layout shifts that were previously observed when toggling documentation.
This commit is contained in:
@@ -82,6 +82,8 @@ $padding: 20px;
|
||||
/* Set background color in consistent way so it has similar look when searching, on tree view, in cards etc. */
|
||||
background: $color-scripts-bg;
|
||||
|
||||
flex: 1; // Expands the container to fill available horizontal space, enabling alignment of child items.
|
||||
|
||||
padding-bottom: $padding;
|
||||
padding-left: $padding;
|
||||
padding-right: $padding;
|
||||
|
||||
Reference in New Issue
Block a user