Skip to content

Commit

Permalink
feat: sets the default flex gap to "size-100" (#347)
Browse files Browse the repository at this point in the history
In common use cases of ui.flex, having a default gap makes things look
better.

---------

Co-authored-by: Mike Bender <[email protected]>
  • Loading branch information
dsmmcken and mofojed authored Mar 18, 2024
1 parent 174655d commit 5898502
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/ui/src/deephaven/ui/components/spectrum/flex.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def flex(
justify_content: JustifyContent | None = None,
align_content: AlignContent | None = None,
align_items: AlignItems | None = None,
gap: DimensionValue | None = None,
gap: DimensionValue | None = "size-100",
column_gap: DimensionValue | None = None,
row_gap: DimensionValue | None = None,
**props: Any,
Expand Down
Binary file modified tests/ui.spec.ts-snapshots/UI-loads-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/ui.spec.ts-snapshots/UI-loads-1-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/ui.spec.ts-snapshots/UI-loads-1-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5898502

Please sign in to comment.