mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-21 22:50:59 -05:00
fix: make context menu line divider compact
This commit is contained in:
parent
74f8c552ed
commit
673efc0586
1 changed files with 3 additions and 3 deletions
|
@ -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}>
|
||||||
|
|
Loading…
Reference in a new issue