Fix extension status-bar item default styles (#1578)

* fix extension status-bar item default styles

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* tweak padding

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2020-12-01 08:21:05 +02:00
1 parent f4fde80c21
commit 0d501ca3b2
2 files changed
+13 -1

No files matched your search

@@ -17,4 +17,16 @@
cursor: pointer; cursor: pointer;
} }
} }
.extensions {
font-size: var(--font-size-small);
color: white;
.item {
padding: $padding / 4 $padding / 2;
&:hover {
background-color: #ffffff33;
cursor: pointer;
}
}
}
} }
@@ -23,7 +23,7 @@ export class BottomBar extends React.Component {
<div className="extensions box grow flex gaps justify-flex-end"> <div className="extensions box grow flex gaps justify-flex-end">
{statusBarRegistry.getItems().map(({ item }, index) => { {statusBarRegistry.getItems().map(({ item }, index) => {
if (!item) return; if (!item) return;
return <React.Fragment key={index}>{item}</React.Fragment>; return <div className="flex align-center gaps item" key={index}>{item}</div>;
})} })}
</div> </div>
</div> </div>