Skip to content

Commit

Permalink
fix: column names in data browser menu not left-aligned (#2263)
Browse files Browse the repository at this point in the history
  • Loading branch information
dblythy authored Sep 13, 2022
1 parent 4500a28 commit fc5673a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default ({ name, handleColumnDragDrop, index, onChangeVisible, visible })
<Icon name={visible ? 'visibility' : 'visibility_off'} width={18} height={18} fill={visible ? 'white' : 'rgba(0,0,0,0.4)'} />
</div>
<div className={styles.columnConfigItemName} title={name}>{name}</div>
<div className={styles.icon}>
<div className={[styles.icon, styles.columnIcon].join(' ')}>
<Icon name='drag-indicator' width={14} height={14} fill="white" />
</div>
</section>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.columnConfigItem {
padding: 8px 10px;
display: flex;
justify-content: space-between;
border-radius: 5px;
cursor: grab;
}
Expand All @@ -21,4 +20,10 @@
text-overflow: ellipsis;
overflow: hidden;
line-height: 24px;
}

.columnIcon {
width: auto;
flex-grow: 1;
justify-content: end;
}

0 comments on commit fc5673a

Please sign in to comment.