Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

fix(ui): mobile fixes from second-pass review

Paulo Castellanoa4ed3bcdadb5
diff --git a/resources/js/components/CommentBody.vue b/resources/js/components/CommentBody.vue
index c6d31bfd1..a21d1093b 100644
--- a/resources/js/components/CommentBody.vue
+++ b/resources/js/components/CommentBody.vue
@@ -42,7 +42,7 @@ const segments = computed<Segment[]>(() => {
</script>
<template>
- <p class="mt-0.5 whitespace-pre-wrap text-sm">
+ <p class="mt-0.5 whitespace-pre-wrap break-words text-sm">
<template v-for="(seg, i) in segments" :key="i">
<span
v-if="seg.type === 'mention'"
diff --git a/resources/js/components/NotificationBell.vue b/resources/js/components/NotificationBell.vue
index 527c48254..f0dbe296d 100644
--- a/resources/js/components/NotificationBell.vue
+++ b/resources/js/components/NotificationBell.vue
@@ -214,7 +214,7 @@ onBeforeUnmount(() => {
<div
v-if="show"
ref="panel"
- class="fixed bottom-2 left-[17rem] z-50 flex h-[32rem] w-[22rem] flex-col overflow-hidden rounded-xl border-2 border-foreground bg-card shadow-md"
+ class="fixed inset-x-2 bottom-2 z-50 flex h-[32rem] max-h-[calc(100svh-1rem)] flex-col overflow-hidden rounded-xl border-2 border-foreground bg-card shadow-md sm:inset-x-auto sm:left-[17rem] sm:w-[22rem]"
>
<!-- Header -->
<div class="flex items-center justify-between gap-2 border-b-2 border-foreground/10 px-4 py-3">
diff --git a/resources/js/components/posts/editor/PreviewTab.vue b/resources/js/components/posts/editor/PreviewTab.vue
index 118811824..e06505612 100644
--- a/resources/js/components/posts/editor/PreviewTab.vue
+++ b/resources/js/components/posts/editor/PreviewTab.vue
@@ -94,7 +94,7 @@ const activeContentType = computed((): string | undefined => {
</div>
</div>
- <div class="flex flex-1 items-start justify-center px-4 pb-8 pt-6">
+ <div class="flex flex-1 items-start justify-center overflow-x-hidden px-4 pb-8 pt-6">
<PhoneMockup v-if="activePlatform">
<PlatformPreview
:platform="activePlatform.platform"
diff --git a/resources/js/layouts/app/AppSidebarLayout.vue b/resources/js/layouts/app/AppSidebarLayout.vue
index 5826f43fa..8e3fdafb5 100644
--- a/resources/js/layouts/app/AppSidebarLayout.vue
+++ b/resources/js/layouts/app/AppSidebarLayout.vue
@@ -62,11 +62,14 @@ onBeforeUnmount(() => {
"
>
<div
- :class="
+ :class="[
fullWidth
? 'flex min-h-0 flex-1 flex-col'
- : 'mx-auto w-full max-w-7xl'
- "
+ : 'mx-auto w-full max-w-7xl',
+ !fullWidth && !$slots['header'] && !$slots['header-actions']
+ ? 'pt-12 md:pt-0'
+ : '',
+ ]"
>
<slot />
</div>
diff --git a/resources/js/pages/automations/Index.vue b/resources/js/pages/automations/Index.vue
index f4731de66..7ed5ed3ae 100644
--- a/resources/js/pages/automations/Index.vue
+++ b/resources/js/pages/automations/Index.vue
@@ -63,7 +63,7 @@ const handleCreate = () => {
<AppLayout>
<div class="flex h-full flex-1 flex-col gap-6 px-6 py-8">
- <div class="flex items-center justify-between">
+ <div class="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between">
<PageHeader :title="$t('automations.title')" />
<Button @click="handleCreate" :disabled="isCreating">