Skip to content

Commit

Permalink
Improve join server header ellipse icon styles (#1497)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding authored May 25, 2024
1 parent 6b45341 commit 61ba316
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions src/features/auth/login/pickJoinServer/PickJoinServer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,19 @@ import {
defaultServersUntouched,
getCustomServers,
} from "../../../../services/app";
import { ellipsisHorizontalCircleOutline } from "ionicons/icons";
import {
ellipsisHorizontalCircleOutline,
ellipsisVertical,
} from "ionicons/icons";
import { DynamicDismissableModalContext } from "../../../shared/DynamicDismissableModal";
import { addGuestInstance } from "../../authSlice";
import Login from "../login/Login";
import { getInstanceFromHandle } from "../../authSelectors";
import { styled } from "@linaria/react";
import AppHeader from "../../../shared/AppHeader";
import { isMinimumSupportedLemmyVersion } from "../../../../helpers/lemmy";
import { css } from "@linaria/core";
import { isIosTheme } from "../../../../helpers/device";

const spacing = `
margin: 2.5rem 0;
Expand Down Expand Up @@ -320,8 +325,21 @@ export default function PickJoinServer() {
</IonButtons>
<IonTitle>Pick Server</IonTitle>
<IonButtons slot="end">
<IonButton fill="clear" color="medium" onClick={presentOptions}>
<IonIcon icon={ellipsisHorizontalCircleOutline} />
<IonButton
color="dark"
onClick={presentOptions}
className={css`
font-size: 16px;
`}
>
<IonIcon
icon={
isIosTheme()
? ellipsisHorizontalCircleOutline
: ellipsisVertical
}
slot="icon-only"
/>
</IonButton>
</IonButtons>
</IonToolbar>
Expand Down

0 comments on commit 61ba316

Please sign in to comment.