Skip to content
Merged
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 @@ -22,6 +22,9 @@ const DropDownWrapper = styled.div`
z-index: 1;
border-radius: 4px;
border: 1px solid ${Colors.ATHENS_GRAY};
max-height: 500px;
max-width: 400px;
overflow: hidden scroll;
`;

const OptionWrapper = styled.div<{ selected: boolean }>`
Expand All @@ -45,6 +48,13 @@ const OptionWrapper = styled.div<{ selected: boolean }>`
}
`;

const StyledOption = styled.div`
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 90%;
`

const ButtonWrapper = styled.div`
display: flex;
width: 100%;
Expand Down Expand Up @@ -132,7 +142,7 @@ const TableColumnsVisibility = (props: TableColumnsVisibilityProps) => {
}}
className="t--table-column-visibility-column-toggle"
>
<div className="option-title">{option.Header}</div>
<StyledOption className="option-title">{option.Header}</StyledOption>
<VisibilityIcon visible={!option.isHidden} />
</OptionWrapper>
))}
Expand Down