fix: make context menu line divider compact

This commit is contained in:
Paul Makles 2022-05-30 12:57:30 +01:00
parent 74f8c552ed
commit 673efc0586

View file

@ -480,7 +480,7 @@ export default function ContextMenus() {
function pushDivider() { function pushDivider() {
if (lastDivider || elements.length === 0) return; if (lastDivider || elements.length === 0) return;
lastDivider = true; lastDivider = true;
elements.push(<LineDivider />); elements.push(<LineDivider compact />);
} }
if (server_list) { if (server_list) {
@ -1033,7 +1033,7 @@ export default function ContextMenus() {
</MenuItem> </MenuItem>
</IconButton> </IconButton>
</div> </div>
<LineDivider /> <LineDivider compact />
<MenuItem <MenuItem
data={{ data={{
action: "set_presence", action: "set_presence",
@ -1070,7 +1070,7 @@ export default function ContextMenus() {
<div className="indicator invisible" /> <div className="indicator invisible" />
<Text id={`app.status.invisible`} /> <Text id={`app.status.invisible`} />
</MenuItem> </MenuItem>
<LineDivider /> <LineDivider compact />
<MenuItem <MenuItem
data={{ action: "set_status" }} data={{ action: "set_status" }}
disabled={!isOnline}> disabled={!isOnline}>