Skip to content
Merged
Changes from 1 commit
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 @@ -32,6 +32,7 @@ const StyledTableCell = styled(TableCell)(() => ({
paddingLeft: '0',
paddingTop: '0',
textAlign: 'left',
verticalAlign: 'top',
}));

const StyledScopeCell = styled(TableCell)(() => ({
Expand All @@ -40,8 +41,8 @@ const StyledScopeCell = styled(TableCell)(() => ({
textAlign: 'left',
borderBottom: 'none',
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
wordBreak: 'break-word',
whiteSpace: 'normal',
}));

/**
Expand Down Expand Up @@ -102,6 +103,7 @@ function CustomPadLock(props) {
</Grid>
<Grid item justifyContent='flex-end' alignItems='right'>
<Tooltip
interactive
title={(
<Table size='small'>
<TableBody>
Expand Down Expand Up @@ -136,12 +138,12 @@ function CustomPadLock(props) {
defaultMessage='Scopes'
/>
</StyledTableCell>
<StyledTableCell style={{ maxWidth: 100, paddingRight: 0 }}>
<StyledTableCell style={{ maxWidth: 250, paddingRight: 0 }}>
{scopes.length > 0 && (
scopes.map((scope, index) => (
// eslint-disable-next-line react/no-array-index-key
<TableRow key={index}>
<StyledScopeCell style={{ maxWidth: 100 }}>
<StyledScopeCell style={{ maxWidth: 250 }}>
{scope}
</StyledScopeCell>
</TableRow>
Expand Down
Loading