diff --git a/widget/src-tauri/tauri.conf.json b/widget/src-tauri/tauri.conf.json index 8fb1913..ca069a9 100644 --- a/widget/src-tauri/tauri.conf.json +++ b/widget/src-tauri/tauri.conf.json @@ -58,9 +58,11 @@ { "fullscreen": false, "height": 520, - "resizable": false, + "resizable": true, "title": "TodoFlow", "width": 340, + "minWidth": 280, + "minHeight": 400, "decorations": false, "transparent": true, "alwaysOnTop": false, diff --git a/widget/src/style.css b/widget/src/style.css index eb24ebf..fb769ab 100644 --- a/widget/src/style.css +++ b/widget/src/style.css @@ -45,10 +45,12 @@ body { overflow: hidden; } -/* --- LE CONTAINER DU WIDGET (GLASSMORPHISM ABSOLU) --- */ +/* --- LE CONTAINER DU WIDGET (GLASSMORPHISM ABSOLU RESONSIVE) --- */ .todo-widget { - width: 340px; - height: 520px; + width: 100%; + height: 100%; + min-width: 280px; + min-height: 400px; background: var(--bg-widget); backdrop-filter: blur(40px) saturate(150%); -webkit-backdrop-filter: blur(40px) saturate(150%);