Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,12 @@ const KeyDetailsHeaderName = ({ onEditKey }: Props) => {

return (
<FlexItem
grow
grow={5}
direction="row"
onMouseEnter={onMouseEnterKey}
onMouseLeave={onMouseLeaveKey}
onClick={onClickKey}
className={cx(
styles.keyFlexItem, // TODO with styles.keyFlexItemEditing
keyIsEditing || keyIsHovering ? styles.keyFlexItemEditing : null,
)}
$gap="xs"
data-testid="edit-key-btn"
>
{keyIsEditing || keyIsHovering ? (
Expand Down
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should try to get rid of scss - move to single css solution - rather than adding to it

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I brought the class name and style that was removed with the previous file commit

now removed in favor of grow prop

Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.toolTipAnchorKey {
max-width: 450px;
height: 31px !important;
width: 100%;
}

.keyInput {
Expand All @@ -21,6 +22,7 @@
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding-right: 6px;
}

:global(.browserPage .key-details-header .euiFormControlLayout) {
Expand Down
Loading