diff --git a/apps/web/src/styles.css b/apps/web/src/styles.css index b70ae29..78d2587 100644 --- a/apps/web/src/styles.css +++ b/apps/web/src/styles.css @@ -304,6 +304,7 @@ input:focus-visible { } .ledger-content { + position: relative; height: calc(100vh - 180px); height: calc(100dvh - 180px); min-height: 0; @@ -313,11 +314,16 @@ input:focus-visible { } .list-toolbar { + position: sticky; + top: 0; + z-index: 2; min-height: 70px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dce8e4; + background: #f7faf9; + box-shadow: 0 2px 6px rgba(32, 57, 51, 0.04); } .list-toolbar > .list-toolbar-copy { @@ -327,16 +333,19 @@ input:focus-visible { } .sync-notice { - min-height: 44px; + height: 32px; + min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #efd9c9; - padding: 6px 16px; + padding: 3px 16px; background: #fff8f2; color: #8e481e; font-size: 12px; + box-shadow: 0 2px 8px rgba(70, 43, 25, 0.1); + pointer-events: auto; } .sync-notice > span, @@ -348,7 +357,7 @@ input:focus-visible { .sync-notice button { flex: 0 0 auto; - min-height: 32px; + min-height: 26px; border: 0; border-radius: 7px; padding: 0 9px; @@ -755,8 +764,8 @@ input:focus-visible { line-height: 1.1; } -.ledger-notice-slot { height:38px; overflow:hidden; } -.conversion-notice { height:38px; display:flex; align-items:center; border-bottom:1px solid #eadfca; padding:7px 12px; background:#fff9ed; color:#775b24; font-size:12px; } +.ledger-notice-slot { position:absolute; top:0; right:0; left:0; z-index:4; height:0; overflow:visible; pointer-events:none; } +.conversion-notice { height:32px; display:flex; align-items:center; border-bottom:1px solid #eadfca; padding:4px 12px; background:#fff9ed; color:#775b24; font-size:11px; box-shadow:0 2px 8px rgba(58,43,17,.08); pointer-events:auto; } .conversion-notice span { display:flex; align-items:center; gap:6px; } .amount-value { diff --git a/apps/web/src/views/LedgerSettingsView.vue b/apps/web/src/views/LedgerSettingsView.vue index 7ed1d79..1b1192c 100644 --- a/apps/web/src/views/LedgerSettingsView.vue +++ b/apps/web/src/views/LedgerSettingsView.vue @@ -44,7 +44,7 @@ async function save() {