Compare commits

...
8 Commits
Author SHA1 Message Date
poli0981 f53b7df65b Merge pull request #112 from poli0981/claude/serene-taussig-955f69
fix(hooks): AI-translation disclaimer missing in multi-language output (v0.29.2)
2026-06-20 11:27:00 +07:00
poli0981andClaude Opus 4.8 303f978a60 fix(hooks): forward translation-quality toggle to multi-language output (v0.29.2)
useMultilangOutput had drifted out of sync with useGeneratedOutput and never
forwarded showTranslationQuality, showThirdPartyAds, or the always-English tEn
translator to renderAll. As a result the AI-translation disclaimer (and the
identical third-party-ads disclaimer) never appeared when the Output page showed
two or more languages, and the bilingual blocks rendered target-language-only.

Bring the hook to parity with the single-language hook: destructure both
settings, build a memoized tEn, and pass all three into renderAll. Single-language
output and the Batch page were already correct. No engine/store/config/i18n
changes; 513 tests + locale validation (937/542) pass; verified live.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 11:25:12 +07:00
poli0981 8405c6fa49 Merge pull request #111 from poli0981/claude/priceless-mayer-d6b5cc
ci(android): bump Node-20 actions to Node-24 majors
2026-06-17 11:47:55 +07:00
poli0981andClaude Opus 4.8 7ea308293a ci(android): bump Node-20 actions to Node-24 majors
GitHub deprecated the Node.js 20 Actions runtime on 2026-06-16 (removal
from runners 2026-09-16). release-android.yml was the only workflow still
pinning actions whose latest-supported runtime was node20; each has a
newer major declaring `runs.using: node24`, so bump to the floating major:

  actions/setup-java          v4 -> v5  (node20 -> node24)
  android-actions/setup-android v3 -> v4 (node20 -> node24; defaults
                                          cmdline-tools 20.0, NDK install
                                          via sdkmanager unaffected)
  actions/cache               v4 -> v5  (node20 -> node24)
  softprops/action-gh-release v2 -> v3  (node20 -> node24)

All four bumps are pure runtime migrations with unchanged inputs. The
node24 majors require Actions Runner >= 2.327.1, which GitHub-hosted
ubuntu-latest already satisfies. ci.yml and release-desktop.yml use only
checkout@v6 / setup-node@v6 (already node24) plus composite actions
(rust-toolchain, tauri-action) that have no Node runtime, so no changes
there. App build node-version (22) is unaffected — this is action
runtimes only. Verified with actionlint (clean) + YAML parse.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 11:43:26 +07:00
poli0981 9f156d1f2c Merge pull request #107 from poli0981/claude/clever-goldberg-557979
fix(ui): mobile viewport overflow on Batch/Profile + sweep (v0.29.1)
2026-06-17 11:06:44 +07:00
poli0981andClaude Opus 4.8 79be06b804 fix(ui): mobile viewport overflow on Batch/Profile + sweep (v0.29.1)
Side-by-side rows that never collapsed on narrow mobile (~360-400px) made
the Batch and Profile screens overrun the viewport horizontally on Android
and web mobile. Make those rows responsive (flex-col -> sm:flex-row) and
sweep a few adjacent overflow spots. Layout-only; desktop is unchanged
(every change gated behind the sm: breakpoint).

- Batch: part-range row stacks below sm (full-width Generate); copy-button
  rows wrap.
- Profile: tab pill + Export/Import stack onto separate rows; Profile/
  Preset/Template cards stack action buttons below content and let long
  names wrap (min-w-0).
- Sweep: Settings responsive padding + wrapping header (Import/Export shows
  on Android), VideoSettingsForm grid 1-col below sm, Modal pinned to
  calc(100% - 2rem).

Bumps five manifests 0.29.0 -> 0.29.1 (package-lock.json resynced from a
0.28.0 drift). typecheck/lint/locales/513 tests/build all green; verified
live at 375px and 1280px with zero horizontal overflow.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 11:04:42 +07:00
poli0981 b4e32eac63 Merge pull request #106 from poli0981/claude/android-docs
docs(android): requirements + tested versions (11–16, real device Android 12)
2026-06-15 19:29:31 +07:00
poli0981andClaude Opus 4.8 f8ada5944a docs(android): document requirements + tested versions
Add an explicit "Requirements & tested versions" section for the Android build:
- Minimum Android 11 (minSdk 30), target Android 16 (targetSdk 36), universal ABIs.
- Tested Android 11 -> 16 on emulators, plus a real device on Android 12.
- Rationale for the Android 11 floor: device coverage, a modern auto-updating
  WebView (why the Android 12 real device worked but a stale WebView-91 emulator
  black-screened), and component-level security upkeep (Play system updates /
  Play services / WebView) since OS bulletins for 11-13 have ended.

Touches docs/PACKAGING.md, docs/FEATURES.md, README.md only — no code change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 19:28:11 +07:00
19 changed files with 122 additions and 45 deletions

No files matched your search

+4 -4
View File
@@ -26,12 +26,12 @@ jobs:
node-version: 22
cache: npm
- uses: actions/setup-java@v4
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: "17"
- uses: android-actions/setup-android@v3
- uses: android-actions/setup-android@v4
- name: Install Android NDK (r27 LTS)
run: sdkmanager "ndk;27.3.13750724"
@@ -41,7 +41,7 @@ jobs:
targets: aarch64-linux-android,armv7-linux-androideabi,i686-linux-android,x86_64-linux-android
- name: Cache cargo
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.cargo/registry
@@ -80,7 +80,7 @@ jobs:
run: cargo tauri android build --apk
- name: Upload APK to draft release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
tag_name: ${{ github.event.inputs.tag || github.ref_name }}
draft: true
+39
View File
@@ -2,6 +2,45 @@
All notable changes to YTDescGen ship as tagged releases on `main`.
## v0.29.2 — 2026-06-20
A one-line **hotfix**. The opt-in *"Show translation-quality notice"* setting
(the AI-translation disclaimer, v0.24.0) had no effect when the Output page was
showing **two or more languages at once** — the multi-language output hook had
drifted out of sync with the single-language one and never forwarded the setting
to the engine.
### Fixed
- **AI-translation disclaimer now appears in multi-language Output** ([src/hooks/use-multilang-output.ts](src/hooks/use-multilang-output.ts)) — the multi-language hook now forwards `showTranslationQuality` to `renderAll`, matching [useGeneratedOutput](src/hooks/use-generated-output.ts). The same patch also restores `showThirdPartyAds` (an identical latent gap — its disclaimer was dropped in multi-language mode too) and the always-English `tEn` translator, so the bilingual blocks render `EN · LOCAL` instead of target-language-only. Selecting 2+ languages and viewing a non-English/Vietnamese tab now shows the `▸ 🌐 ABOUT THIS TRANSLATION` block. Single-language output and the Batch page were already correct.
### Under the hood
- One-file fix; no engine, store, config, or i18n changes (the `translationQuality` template keys already exist in all six locales). typecheck, lint, locale validation (937/542), all **513 tests**, and the production build pass; verified live — the JA tab renders the block bilingually while the EN/VI tabs correctly omit it.
- This hook has drifted out of sync before (a prior `showSponsorCredit` miss), so the recurrence is a known class of bug.
- Five manifests bumped 0.29.1 → 0.29.2.
## v0.29.1 — 2026-06-17
A UI/UX hotfix for **mobile viewport overflow**. On Android and narrow web
mobile (~360–400px) the **Batch** and **Profile** screens overran the viewport
horizontally — rows laid out side-by-side on desktop never collapsed to a stack
on small screens. This release makes those rows responsive and sweeps a few
adjacent overflow spots. Layout-only: no logic, store, or i18n changes, and
desktop layout is byte-for-byte unchanged (every change is gated behind the
`sm` breakpoint).
### Fixed
- **Batch page fits mobile** ([src/pages/BatchPage.tsx](src/pages/BatchPage.tsx)) — the part-range row (Start / End / Generate) stacks vertically below `sm` with a full-width Generate button, and the result-card copy-button rows wrap instead of overflowing.
- **Profile page fits mobile** ([src/pages/ProfilesPage.tsx](src/pages/ProfilesPage.tsx)) — the tab pill and the Export/Import buttons drop onto separate rows below `sm`; the Profile / Preset / Template cards ([ProfileCard](src/components/profiles/ProfileCard.tsx), [PresetCard](src/components/presets/PresetCard.tsx), [TemplateCard](src/components/templates/TemplateCard.tsx)) move their action buttons below the content and let long names wrap (`min-w-0`) instead of shoving the buttons off-screen.
- **Adjacent mobile overflow swept** — responsive padding + a wrapping header on [Settings](src/pages/SettingsPage.tsx) (its Import/Export row shows on Android, where `IS_TAURI` is true), the video-settings selector grid collapses to one column below `sm` ([VideoSettingsForm](src/components/editor/VideoSettingsForm.tsx)), and modals are pinned to `calc(100% - 2rem)` so they never exceed the viewport ([Modal](src/components/ui/Modal.tsx)).
### Under the hood
- Layout-only className changes across 8 components. typecheck, lint, locale validation (937/542), all **513 tests**, and the production build pass; verified live at 375 px and 1280 px with zero horizontal overflow on Batch, Profiles, Settings, and Editor.
- Five manifests bumped 0.29.0 → 0.29.1 (`package-lock.json`, which had drifted at 0.28.0, is resynced to 0.29.1).
## v0.29.0 — 2026-06-15
Adds an **Android build** — an installable, sideloadable signed `.apk` built
+1 -1
View File
@@ -33,7 +33,7 @@ Built for the gameplay no-commentary niche — especially horror / scary games
- **Batch mode** — generate metadata for all parts of a series in one pass.
- **Cross-post captions** — a dedicated **Social** tab re-packages the same YouTube source into short-form captions for **TikTok** (4,000-char), **Instagram Reels**, and **Facebook Reels** — title, rig, content warnings, copyright, thanks, and hashtags (game + genre + curated per-platform popular tags). Single + bulk modes, per-platform character limits with smart overflow trimming, and JSON import/export.
- **Desktop app** — Windows, macOS & Linux native binaries via Tauri (~8 MB).
- **Android app** — installable, sideloadable `.apk` (Android 11+) built from the same Tauri 2 codebase. Grab it from [Releases](https://github.com/poli0981/youtube-generator/releases) and enable "Install unknown apps" to sideload.
- **Android app** — installable, sideloadable `.apk` built from the same Tauri 2 codebase. **Requires Android 11+** (tested 11–16; real-device test on Android 12). Grab it from [Releases](https://github.com/poli0981/youtube-generator/releases) and enable "Install unknown apps" to sideload.
- **Mobile-responsive web** — drawer navigation, touch-sized controls, iOS-safe text-input behavior. Tested down to 360 × 640.
- **100% offline** — no server, no telemetry, no account. See [PRIVACY.md](./PRIVACY.md).
+1
View File
@@ -260,6 +260,7 @@ separate mobile project. Build with `cargo tauri android build --apk`; see
|---------|-------------|
| Same codebase | One Tauri 2 project produces web, desktop, and Android |
| Min version | Android 11+ (minSdk 30); `targetSdk` 36 (Android 16) |
| Tested | Android 11 → 16 (emulators); real device on Android 12 |
| Signed APK | Self-signed release APK for sideloading; CI publishes it to GitHub Releases |
| Responsive UI | Drawer navigation, touch-sized controls, safe-area insets |
| File export | Routed through the WebView download (lands in Downloads) on Android |
+33 -11
View File
@@ -283,17 +283,39 @@ point, and the Android launcher icons live in `src-tauri/icons/android/`. The
desktop-only tray / single-instance / hide-to-tray logic in `src-tauri/src/lib.rs`
is gated behind `#[cfg(desktop)]` so the library compiles for Android.
> **Min version: Android 11 (minSdk 30), targetSdk 36.** Set via
> `bundle.android.minSdkVersion` in `src-tauri/tauri.conf.json` (the source of
> truth used by `tauri android init`) and the generated
> `gen/android/app/build.gradle.kts` (`minSdk = 30` — edit this directly if you
> change it without re-running `init`, since the gradle value is baked at init
> time). Android 11+ covers the large majority of active devices and keeps a
> modern, auto-updating System WebView (the WebView minimum is Android 10) plus
> Google Play system/Play-services security updates, even though Google's
> OS-level security bulletins for Android 11–13 have ended. Raising minSdk also
> moots the ancient-WebView class of bug (e.g. the Chromium-91 `crypto.randomUUID`
> boot crash fixed in this release).
### Requirements & tested versions
| | |
|---|---|
| **Minimum OS** | **Android 11** (API level 30, `minSdk 30`). The APK will not install below this. |
| **Target OS** | **Android 16** (API level 36, `targetSdk 36`). |
| **Architectures** | Universal APK — `arm64-v8a`, `armeabi-v7a`, `x86`, `x86_64`. |
| **Tested** | **Android 11 → 16.** The v0.29.0 build was verified on Android emulators across this range **and on a real device running Android 12** (the maintainer's phone). |
Where the value lives: `bundle.android.minSdkVersion` in
[`src-tauri/tauri.conf.json`](../src-tauri/tauri.conf.json) is the source of
truth used by `tauri android init`; the generated
`gen/android/app/build.gradle.kts` carries the baked `minSdk = 30` — edit that
directly if you change the floor without re-running `init`.
**Why Android 11 is the floor (rationale):**
- **Coverage.** Android 11+ accounts for the large majority of active devices in
2026 (Android 14/15 alone are the two biggest slices, and 11–13 together still
hold a sizeable share). Going lower buys few extra users at growing compat cost.
- **A modern, patched WebView.** The app renders entirely in the system WebView,
whose minimum is Android 10. On Android 11+ the WebView auto-updates via Google
Play, so the rendering/JS engine stays current and patched. This is exactly why
the **real-device test on Android 12 worked**, while a *stale* Android-12
emulator stuck on WebView 91 showed a black screen (the `crypto.randomUUID`
boot crash) — that class of bug is fixed in v0.29.0 and is moot on an
up-to-date WebView.
- **Security upkeep.** Even though Google's *OS-level* monthly security bulletins
for Android 11–13 have ended (Android 12 in 2025, Android 13 in early 2026),
Android 11+ keeps receiving security updates for the components that matter to a
sandboxed WebView app: Google Play system updates (Project Mainline), Google
Play services, and System WebView. Requiring strict OS-bulletin support would
mean Android 14+, which would drop more than half of users.
### Prerequisites
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "yt-desc-gen",
"version": "0.28.0",
"version": "0.29.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "yt-desc-gen",
"version": "0.28.0",
"version": "0.29.2",
"license": "Apache-2.0",
"dependencies": {
"@tauri-apps/api": "^2.11.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "yt-desc-gen",
"version": "0.29.0",
"version": "0.29.2",
"private": true,
"license": "Apache-2.0",
"type": "module",
+1 -1
View File
@@ -5535,7 +5535,7 @@ dependencies = [
[[package]]
name = "yt-desc-gen"
version = "0.29.0"
version = "0.29.2"
dependencies = [
"tauri",
"tauri-build",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "yt-desc-gen"
version = "0.29.0"
version = "0.29.2"
description = "YouTube Gameplay Description Generator"
authors = ["poli0981"]
edition = "2021"
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/crates/tauri-cli/schema.json",
"productName": "YTDescGen",
"version": "0.29.0",
"version": "0.29.2",
"identifier": "com.skullmute.ytdescgen",
"build": {
"beforeBuildCommand": "npm run build",
+1 -1
View File
@@ -113,7 +113,7 @@ export function VideoSettingsForm() {
<div className="flex flex-col gap-3">
<span className="text-sm font-medium text-text-secondary">{t("editor.videoSettings")}</span>
<div className="grid grid-cols-3 gap-3">
<div className="grid grid-cols-1 gap-3 sm:grid-cols-3">
<Select
label={t("editor.resolution")}
options={RESOLUTION_OPTIONS}
+3 -3
View File
@@ -46,8 +46,8 @@ export function PresetCard({ preset }: PresetCardProps) {
return (
<>
<div className="flex items-center justify-between rounded-lg border border-border-strong bg-surface-2 p-4 shadow-md shadow-black/10 transition-colors hover:border-accent/30">
<div className="flex-1">
<div className="flex flex-col gap-3 rounded-lg border border-border-strong bg-surface-2 p-4 shadow-md shadow-black/10 transition-colors hover:border-accent/30 sm:flex-row sm:items-center sm:justify-between">
<div className="min-w-0 flex-1">
<h3 className="text-sm font-semibold text-text-primary">{preset.gameName}</h3>
<div className="mt-1.5 flex flex-wrap items-center gap-1.5 text-xs text-text-muted">
{genreDefs.map((g) => (
@@ -58,7 +58,7 @@ export function PresetCard({ preset }: PresetCardProps) {
<span>{preset.platform}</span>
</div>
</div>
<div className="flex items-center gap-1.5">
<div className="flex shrink-0 items-center gap-1.5">
<Button variant="primary" size="sm" onClick={handleLoad}>
<Upload className="h-3.5 w-3.5" />
{t("presets.loadPreset")}
+4 -4
View File
@@ -43,16 +43,16 @@ export function ProfileCard({ profile }: ProfileCardProps) {
return (
<>
<div className="flex items-center justify-between rounded-lg border border-border-strong bg-surface-2 p-4 shadow-md shadow-black/10 transition-colors hover:border-accent/30">
<div className="flex-1">
<div className="flex flex-col gap-3 rounded-lg border border-border-strong bg-surface-2 p-4 shadow-md shadow-black/10 transition-colors hover:border-accent/30 sm:flex-row sm:items-center sm:justify-between">
<div className="min-w-0 flex-1">
<h3 className="text-sm font-semibold text-text-primary">{profile.name}</h3>
<p className="mt-0.5 text-xs text-text-secondary">{profile.channelName || "No channel"}</p>
<div className="mt-1.5 flex gap-3 text-xs text-text-muted">
<div className="mt-1.5 flex flex-wrap gap-3 text-xs text-text-muted">
{socialCount > 0 && <span>{socialCount} social links</span>}
{rigCount > 0 && <span>{rigCount} rig fields</span>}
</div>
</div>
<div className="flex items-center gap-1.5">
<div className="flex shrink-0 items-center gap-1.5">
<Button variant="primary" size="sm" onClick={handleLoad}>
<Upload className="h-3.5 w-3.5" />
{t("profiles.loadProfile")}
+4 -4
View File
@@ -35,16 +35,16 @@ export function TemplateCard({ template }: TemplateCardProps) {
return (
<>
<div className="flex items-center justify-between rounded-lg border border-border-strong bg-surface-2 p-4 shadow-md shadow-black/10 transition-colors hover:border-accent/30">
<div className="flex-1">
<div className="flex flex-col gap-3 rounded-lg border border-border-strong bg-surface-2 p-4 shadow-md shadow-black/10 transition-colors hover:border-accent/30 sm:flex-row sm:items-center sm:justify-between">
<div className="min-w-0 flex-1">
<h3 className="text-sm font-semibold text-text-primary">{template.name}</h3>
<div className="mt-1.5 flex items-center gap-2 text-xs text-text-muted">
<div className="mt-1.5 flex flex-wrap items-center gap-2 text-xs text-text-muted">
<span>{template.snapshot.gameName || "—"}</span>
<span>·</span>
<span>{date}</span>
</div>
</div>
<div className="flex items-center gap-1.5">
<div className="flex shrink-0 items-center gap-1.5">
<Button variant="primary" size="sm" onClick={handleApply}>
<Upload className="h-3.5 w-3.5" />
{t("templates.loadTemplate")}
+1 -1
View File
@@ -35,7 +35,7 @@ export function Modal({ open, onClose, title, children, footer, className }: Mod
>
<div
className={clsx(
"mx-4 flex max-h-[85vh] w-full max-w-lg flex-col rounded-xl border border-border bg-surface-1 shadow-2xl",
"mx-4 flex max-h-[85vh] w-[calc(100%-2rem)] max-w-lg flex-col rounded-xl border border-border bg-surface-1 shadow-2xl",
className,
)}
>
+14
View File
@@ -23,9 +23,17 @@ export function useMultilangOutput(
showUsagePolicy,
showSponsorCredit,
showGameCopyright,
showThirdPartyAds,
showTranslationQuality,
titleFormat,
} = useSettingsStore();
// Always-English `t` for the bilingual content-warning / translation-quality
// blocks — must match `useGeneratedOutput` so multi-language tabs render the
// same `EN · LOCAL` output instead of falling back to target-language-only.
// `en` is eagerly bundled, so it never needs the readiness gate.
const tEn = useMemo(() => i18n.getFixedT("en", "templates"), []);
return useMemo(() => {
const results: Record<string, GeneratorOutput> = {};
if (!ready) return results;
@@ -41,7 +49,10 @@ export function useMultilangOutput(
showUsagePolicy,
showSponsorCredit,
showGameCopyright,
showThirdPartyAds,
showTranslationQuality,
titleFormat,
tEn,
});
}
return results;
@@ -57,6 +68,9 @@ export function useMultilangOutput(
showUsagePolicy,
showSponsorCredit,
showGameCopyright,
showThirdPartyAds,
showTranslationQuality,
titleFormat,
tEn,
]);
}
+6 -5
View File
@@ -137,7 +137,7 @@ export function BatchPage() {
);
return (
<div className="mx-auto max-w-4xl p-6">
<div className="mx-auto max-w-4xl p-4 sm:p-6">
<h1 className="mb-4 text-lg font-bold text-text-primary">{t("batch.title")}</h1>
{/* Language selector */}
@@ -163,7 +163,7 @@ export function BatchPage() {
</div>
</div>
<div className="mb-6 flex items-end gap-4">
<div className="mb-6 flex flex-col gap-3 sm:flex-row sm:items-end sm:gap-4">
<Input
label={t("batch.startPart")}
type="number"
@@ -177,6 +177,7 @@ export function BatchPage() {
onChange={(e) => setEndPart(e.target.value)}
/>
<Button
className="w-full sm:w-auto"
onClick={() => void handleGenerate()}
disabled={!state.gameName || generating}
>
@@ -190,7 +191,7 @@ export function BatchPage() {
</p>
) : (
<>
<div className="mb-4 flex items-center justify-between">
<div className="mb-4 flex flex-wrap items-center justify-between gap-2">
<span className="text-sm text-text-secondary">
{results.length} parts x {selectedLangs.length} languages
</span>
@@ -205,7 +206,7 @@ export function BatchPage() {
<div className="flex flex-col gap-3">
{result.languages.map((lang) => (
<div key={lang.language} className="rounded-lg bg-surface-2 p-3">
<div className="mb-1 flex items-center justify-between">
<div className="mb-1 flex flex-wrap items-center justify-between gap-2">
<span className="text-xs font-medium uppercase text-text-muted">
{lang.language.toUpperCase()}
</span>
@@ -220,7 +221,7 @@ export function BatchPage() {
<pre className="mb-2 max-h-20 overflow-y-auto whitespace-pre-wrap font-sans text-xs text-text-secondary">
{lang.output.description.slice(0, 200)}...
</pre>
<div className="flex gap-2">
<div className="flex flex-wrap gap-2">
<CopyButton text={lang.output.description} label={t("output.copyDescription")} />
<CopyButton text={lang.output.tagString} label={t("output.copyTags")} />
{lang.pinnedComment && (
+3 -3
View File
@@ -176,8 +176,8 @@ export function ProfilesPage() {
};
return (
<div className="mx-auto max-w-3xl p-6">
<div className="mb-6 flex items-center justify-between">
<div className="mx-auto max-w-3xl p-4 sm:p-6">
<div className="mb-6 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between">
<div className="flex gap-1 rounded-lg bg-surface-1 p-1">
{(["profiles", "presets", "templates"] as const).map((t2) => (
<button
@@ -194,7 +194,7 @@ export function ProfilesPage() {
</button>
))}
</div>
<div className="flex gap-2">
<div className="flex flex-wrap gap-2">
{tab === "profiles" && (
<>
<Button variant="ghost" size="sm" onClick={handleExportProfiles}>
+2 -2
View File
@@ -196,8 +196,8 @@ export function SettingsPage() {
];
return (
<div className="mx-auto max-w-2xl p-6">
<div className="mb-6 flex items-center justify-between">
<div className="mx-auto max-w-2xl p-4 sm:p-6">
<div className="mb-6 flex flex-wrap items-center justify-between gap-2">
<h1 className="text-lg font-bold text-text-primary">{t("settings.title")}</h1>
{IS_TAURI && (
<div className="flex gap-2">