Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #73 from pvdthings/dev
Browse files Browse the repository at this point in the history
v0.13.2 - Spanish translation bugfix
  • Loading branch information
dillonfagan authored Oct 26, 2023
2 parents 37a4d2f + a4c80d4 commit c4e32e2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
8 changes: 8 additions & 0 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ body {
@apply font-body;
}

input[type=text],
input[type=email],
input[type=password],
textarea {
appearance: none;
-webkit-appearance: none;
}

@supports(padding:max(0px)) {
body, header, footer {
padding-left: min(0vmin, env(safe-area-inset-left));
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/AppBar.svelte
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<div class="navbar fixed top-0 left-0 right-0 z-50 shadow-lg bg-indigo-300">
<div class="navbar-start">
<div class="navbar-start lg:pl-4">
<slot name="start" />
</div>
<div class="navbar-center">
<a href="https://pvdthings.coop">
<img src="/PVD_Things_Logo_White.png" alt="PVD Things" class="h-16 lg:h-20" />
</a>
</div>
<div class="navbar-end">
<div class="navbar-end lg:pr-4">
<slot name="end" />
</div>
</div>
3 changes: 1 addition & 2 deletions src/lib/components/HomeButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
fill="none"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
class="w-6 h-6 lg:w-7 lg:h-7"
class="w-6 h-6 lg:w-8 lg:h-8 stroke-indigo-900"
>
<path
stroke-linecap="round"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/views/LanguageToggleView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<button
on:click={() => $locale = otherLocale}
class="btn btn-ghost btn-circle font-sans text-lg lg:text-xl"
class="btn btn-ghost btn-circle font-sans text-lg lg:text-2xl text-indigo-900"
aria-label="Language"
>
{otherLocale.toUpperCase()}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/views/MyListView/MyListView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<table class="table">
<tbody>
{#each $things as thing}
{@const thingName = isSpanish ? thing.spanishName : thing.name}
{@const thingName = isSpanish ? thing.spanishName ?? thing.name : thing.name}
<MyListTableRow
on:remove={() => removeThing(thing.id)}
{thingName}
Expand Down

0 comments on commit c4e32e2

Please sign in to comment.