Compare commits

2 Commits

Author SHA1 Message Date
1addc4b1d7 fix: prevent empty recipe notes from displaying
All checks were successful
CI / update (push) Successful in 1m13s
Add trim check to ensure recipe notes only render when they contain non-whitespace content, preventing empty "Notiz" boxes from appearing on recipes.
2026-01-03 12:58:48 +01:00
b6eb3d9458 fix: prevent input field overflow on mobile by ensuring equal margins
Adds box-sizing: border-box to all filter inputs after 'all: unset' to ensure padding is included within the 100% width calculation, preventing horizontal overflow and ensuring equal left/right margins on small screens.
2026-01-03 12:58:40 +01:00
6 changed files with 6 additions and 1 deletions

View File

@@ -102,6 +102,7 @@
input { input {
all: unset; all: unset;
box-sizing: border-box;
font-family: sans-serif; font-family: sans-serif;
background: var(--nord0); background: var(--nord0);
color: var(--nord6); color: var(--nord6);

View File

@@ -93,6 +93,7 @@
input { input {
all: unset; all: unset;
box-sizing: border-box;
font-family: "Noto Color Emoji", emoji, sans-serif; font-family: "Noto Color Emoji", emoji, sans-serif;
background: var(--nord0); background: var(--nord0);
color: var(--nord6); color: var(--nord6);

View File

@@ -265,6 +265,7 @@
<style> <style>
input#search { input#search {
all: unset; all: unset;
box-sizing: border-box;
font-family: sans-serif; font-family: sans-serif;
background: var(--nord0); background: var(--nord0);
color: #fff; color: #fff;

View File

@@ -114,6 +114,7 @@
input { input {
all: unset; all: unset;
box-sizing: border-box;
font-family: sans-serif; font-family: sans-serif;
background: var(--nord0); background: var(--nord0);
color: var(--nord6); color: var(--nord6);

View File

@@ -111,6 +111,7 @@
input { input {
all: unset; all: unset;
box-sizing: border-box;
font-family: sans-serif; font-family: sans-serif;
background: var(--nord0); background: var(--nord0);
color: var(--nord6); color: var(--nord6);

View File

@@ -350,7 +350,7 @@ h4{
isLoggedIn={!!data.session?.user} isLoggedIn={!!data.session?.user}
/> />
{#if data.note} {#if data.note && data.note.trim()}
<RecipeNote note={data.note}></RecipeNote> <RecipeNote note={data.note}></RecipeNote>
{/if} {/if}
</div> </div>