mirror of
https://github.com/apache/superset.git
synced 2024-09-16 02:29:39 -04:00
fix Metadata browser in SQL not render nicely in Safari (#18855)
This commit is contained in:
parent
8d38675cbc
commit
0db49b1a7c
@ -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;
|
||||
@ -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>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user