Skip to content

Commit

Permalink
refactor(console): fix text overflow issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-sun committed Jul 31, 2024
1 parent 4abe2a8 commit d15ee66
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $column-width: calc((100% - 23 * $gutter-width) / 24);
width: calc($column-width * 16 + $gutter-width * 15);
}

@container (max-width: 600px) {
@container (max-width: 800px) {
.container {
flex-direction: column;
justify-content: unset;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,3 @@ button.add {
.expired {
color: var(--color-placeholder);
}

.copyToClipboard {
width: fit-content;
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,7 @@ export const useSecretTableColumns = ({ appId, onUpdated, onEdit }: UseSecretTab
dataIndex: 'value',
colSpan: 6,
render: ({ value }) => (
<CopyToClipboard
hasVisibilityToggle
displayType="block"
value={value}
className={styles.copyToClipboard}
variant="text"
/>
<CopyToClipboard hasVisibilityToggle displayType="block" value={value} variant="text" />
),
},
{
Expand Down

0 comments on commit d15ee66

Please sign in to comment.