mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix: Loading overlay bugfix and cleanup (#10105)
* fix: reordering DOM output, simplifying styles, Emotionalizing * simplification * converting RefreshChartOverlay to TS * Loading -> TS, stripping unused size prop * simplification... * just letting "position" prop act as a class name. Simpler! * consolidating styles, changing a className prop to a position prop. * nixing (unused) classname prop * replacing inline loading img with the proper Loading component * BY THERE. * position prop is optional!
This commit is contained in:
@@ -207,7 +207,7 @@ class TableElement extends React.PureComponent {
|
||||
</div>
|
||||
<div className="pull-right">
|
||||
{table.isMetadataLoading || table.isExtraMetadataLoading ? (
|
||||
<Loading size={50} position="normal" className="margin-zero" />
|
||||
<Loading position="inline" />
|
||||
) : (
|
||||
<Fade in={this.state.hovered}>{this.renderControls()}</Fade>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user