Skip to content

Commit 28af9e7

Browse files
committed
fix: improved wrapping rules for ProfileExplorer
1 parent c633629 commit 28af9e7

File tree

1 file changed

+4
-1
lines changed
  • plugins/plugin-codeflare/web/scss/components/ProfileExplorer

1 file changed

+4
-1
lines changed

Diff for: plugins/plugin-codeflare/web/scss/components/ProfileExplorer/_index.scss

+4-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ body[kui-theme-style="dark"] {
6464

6565
/** Handle tree text that isn't normally wrappable, such as long kubernetes contexts */
6666
.pf-c-tree-view__node-text {
67-
word-break: break-all;
67+
overflow-wrap: anywhere; /** WARNING: does not work on safari; we'll need the junkier word-break: break-all there */
6868
}
6969

7070
/** width management */
@@ -98,6 +98,9 @@ body[kui-theme-style="dark"] {
9898
.pf-c-tree-view__content {
9999
/* so that action items align top */
100100
align-items: flex-start;
101+
102+
/* Hmm... not sure what's going on here. Nested ChipGroups can result in horizontal overflow that isn't necessary. */
103+
flex-wrap: wrap;
101104
}
102105

103106
.pf-c-tree-view__node-text {

0 commit comments

Comments
 (0)