Skip to content

Commit

Permalink
fix Metadata browser in SQL not render nicely in Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
codemaster08240328 committed Feb 22, 2022
1 parent 4c16586 commit 35a797f
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ interface ColumnElementProps {
};
}

const NowrapDiv = styled.div`
white-space: nowrap;
`;

const ColumnElement = ({ column }: ColumnElementProps) => {
let columnName: React.ReactNode = column.name;
let icons;
Expand Down Expand Up @@ -105,9 +109,9 @@ const ColumnElement = ({ column }: ColumnElementProps) => {
{columnName}
{icons}
</div>
<div className="pull-right text-muted">
<NowrapDiv className="pull-right text-muted">
<small> {column.type}</small>
</div>
</NowrapDiv>
</div>
);
};
Expand Down

0 comments on commit 35a797f

Please sign in to comment.