mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
fix(ios): position add task bar above keyboard
Use --keyboard-height CSS variable to position the add task bar above the iOS keyboard when it appears. Adds smooth transition for better UX.
This commit is contained in:
parent
e942db5ade
commit
292337ed6c
1 changed files with 2 additions and 1 deletions
|
|
@ -33,7 +33,8 @@
|
|||
|
||||
:host-context(.isTouchOnly).global {
|
||||
top: auto;
|
||||
bottom: var(--s);
|
||||
bottom: calc(var(--keyboard-height) + var(--s));
|
||||
transition: bottom 0.3s ease-out;
|
||||
}
|
||||
|
||||
.add-task-container {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue