mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
style: fix labels vertical align (#11415)
* style: fix labels vertical align * addressed comments * just adding the space for now * fix timer
This commit is contained in:
parent
70ea7ae776
commit
0ab15373fa
@ -183,8 +183,7 @@ export default function DatabaseSelector({
|
||||
function renderDatabaseOption(db: any) {
|
||||
return (
|
||||
<span title={db.database_name}>
|
||||
<Label bsStyle="default">{db.backend}</Label>
|
||||
{db.database_name}
|
||||
<Label bsStyle="default">{db.backend}</Label> {db.database_name}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
@ -42,6 +42,7 @@ const SupersetLabel = styled(BootstrapLabel)`
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
vertical-align: middle;
|
||||
|
||||
&:first-of-type {
|
||||
margin-left: 0;
|
||||
|
@ -30,8 +30,8 @@ interface TimerProps {
|
||||
}
|
||||
|
||||
const TimerLabel = styled(Label)`
|
||||
width: 80px;
|
||||
text-align: right;
|
||||
width: 96px;
|
||||
text-align: center;
|
||||
`;
|
||||
|
||||
export default function Timer({
|
||||
|
Loading…
Reference in New Issue
Block a user