Skip to content

Commit

Permalink
🐛 Button layout issue on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
homostellaris committed Jan 10, 2025
1 parent 17c0861 commit 1e80c96
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion components/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import {
filterSharp,
locateOutline,
rocketSharp,
timeSharp,
} from 'ionicons/icons'
import _ from 'lodash'
import {
Expand Down Expand Up @@ -788,6 +789,7 @@ export const ViewMenu = ({
</IonHeader>
<IonContent className="space-y-4 ion-padding">
<IonButton
expand="block"
onClick={() => {
if (searchbarRef.current) {
searchbarRef.current.value = 'is:snoozed'
Expand All @@ -797,8 +799,21 @@ export const ViewMenu = ({
}}
>
View snoozed
<IonIcon
slot="end"
icon={timeSharp}
></IonIcon>
</IonButton>
<IonButton
expand="block"
routerLink="/constellation"
>
Edit roles
<IonIcon
slot="end"
icon={rocketSharp}
></IonIcon>
</IonButton>
<IonButton routerLink="/constellation">Edit roles</IonButton>
{isLoading ? (
<IonSpinner
className="w-20 h-20"
Expand Down

0 comments on commit 1e80c96

Please sign in to comment.