2 Commits

Author SHA1 Message Date
b2e8f23d60 0.6.1
All checks were successful
Deploy to Production / deploy (push) Successful in 13s
2026-02-27 19:43:31 +00:00
d2ea9e3fc7 chore: UI spacing tweaks, desktop scrolling fix, QR title alignment 2026-02-27 19:43:12 +00:00
6 changed files with 27 additions and 17 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "tools-app", "name": "tools-app",
"version": "0.6.0", "version": "0.6.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "tools-app", "name": "tools-app",
"version": "0.6.0", "version": "0.6.1",
"dependencies": { "dependencies": {
"lucide-vue-next": "^0.575.0", "lucide-vue-next": "^0.575.0",
"vue": "^3.5.25", "vue": "^3.5.25",

View File

@@ -1,7 +1,7 @@
{ {
"name": "tools-app", "name": "tools-app",
"private": true, "private": true,
"version": "0.6.0", "version": "0.6.1",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@@ -67,17 +67,17 @@ onUnmounted(() => {
.main-content { .main-content {
flex: 1; flex: 1;
padding: 2rem; padding: 1rem;
width: 100%; width: 100%;
max-width: 100%; max-width: 100%;
/* Space for fixed footer on mobile + extra margin (match top padding 2rem + footer height ~40px) */ /* Space for fixed footer on mobile + extra margin (match top padding 2rem + footer height ~40px) */
padding-bottom: calc(2rem + 40px + env(safe-area-inset-bottom)); padding-bottom: calc(1rem + 40px + env(safe-area-inset-bottom));
} }
@media (max-width: 640px) { @media (max-width: 640px) {
.main-content { .main-content {
padding: 1rem; padding: 0.5rem;
padding-bottom: calc(1rem + 40px + env(safe-area-inset-bottom)); padding-bottom: calc(0.5rem + 40px + env(safe-area-inset-bottom));
} }
} }
@@ -89,7 +89,7 @@ onUnmounted(() => {
.main-content { .main-content {
overflow: visible; overflow: visible;
height: auto; height: auto;
padding-bottom: 2rem; padding-bottom: 1rem;
} }
} }

View File

@@ -16,7 +16,7 @@ const {
stopListening stopListening
} = useExtension() } = useExtension()
const { height: textareaHeight } = useFillHeight(textareaRef, 40) const { height: textareaHeight } = useFillHeight(textareaRef, 120)
// Watch for clipboard updates from extension // Watch for clipboard updates from extension
watch(lastClipboardText, (newText) => { watch(lastClipboardText, (newText) => {
@@ -112,6 +112,7 @@ const clearText = () => {
justify-content: center; justify-content: center;
gap: 1rem; gap: 1rem;
flex-wrap: wrap; flex-wrap: wrap;
flex-shrink: 0;
} }
.tool-container.full-width { .tool-container.full-width {
@@ -126,6 +127,9 @@ const clearText = () => {
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
gap: 1.5rem; gap: 1.5rem;
/* Override shared tool-panel scroll for this tool */
max-height: none;
overflow: hidden;
} }
.tool-textarea { .tool-textarea {
@@ -154,4 +158,9 @@ const clearText = () => {
transform: translateY(-50%); transform: translateY(-50%);
display: flex; display: flex;
} }
.result-area {
flex: 1;
display: flex;
}
</style> </style>

View File

@@ -427,6 +427,9 @@ const isUrl = (string) => {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
margin-top: 0;
position: relative;
width: 100%;
} }
.scanner-content { .scanner-content {

View File

@@ -2,8 +2,6 @@
*, *::before, *::after { *, *::before, *::after {
box-sizing: border-box; box-sizing: border-box;
} }
@import 'tailwindcss';
:root { :root {
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5; line-height: 1.5;
@@ -115,13 +113,13 @@ body {
@media (min-width: 768px) { @media (min-width: 768px) {
body { body {
height: 100vh; min-height: 100vh;
overflow: hidden; overflow: auto;
} }
#app { #app {
height: 100vh; min-height: 100vh;
overflow: hidden; overflow: auto;
} }
} }
@@ -136,12 +134,12 @@ body {
max-width: 800px; max-width: 800px;
margin: 0 auto; margin: 0 auto;
height: 100%; height: 100%;
padding: 1rem; padding: 0.5rem;
} }
.tool-panel { .tool-panel {
width: 100%; width: 100%;
padding: 2rem; padding: 1rem;
border-radius: 16px; border-radius: 16px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;