Skip to content

Commit

Permalink
style update
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Hellweg committed Jun 21, 2024
1 parent b753133 commit e78444a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
3 changes: 2 additions & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@
-webkit-user-select: none; /*Safari*/
-moz-user-select: none; /*Firefox*/
caret-color: transparent;
min-width: 8vw;
padding-left: 1rem;
padding-right: 1rem;
}
:global(input::-webkit-outer-spin-button) {
Expand Down
6 changes: 3 additions & 3 deletions src/routes/user/[user_id]/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang='ts'>
<script lang="ts">
import AvatarImage from '$lib/sharedComponents/AvatarImage.svelte';
import AvatarUpload from './AvatarUpload.svelte';
import UserDataForm from './UserDataForm.svelte';
Expand All @@ -14,7 +14,7 @@

<article>
<h2>Benutzer <strong>{data.user.nickname}</strong></h2>
<section style='display: flex'>
<section style="display: flex">
<AvatarImage userId={data.user.id} />
<div>
{#if data.isOwnProfil}
Expand Down Expand Up @@ -45,7 +45,7 @@
</section>

<section>
<h4>Festivals: </h4>
<h4>Festivals:</h4>
<VisitingFestivals userId={data.user.id} />
</section>

Expand Down
10 changes: 4 additions & 6 deletions src/routes/user/[user_id]/VisitingFestivals.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script lang='ts'>
<script lang="ts">
import type { VisitingFestival } from '$lib/models/user/VisitingFestival';
import { afterUpdate, onMount } from 'svelte';
Expand Down Expand Up @@ -37,10 +36,9 @@

{#if festivals.length === 0}
<p>Zu nichts angemeldet.</p>
{:else }
<p>Angemeldet bei: </p>
{:else}
<p>Angemeldet bei:</p>
{#each festivals as fest}
<a href={'/festival/'+fest.festivalId}>{fest.festivalName}</a>
<a href={'/festival/' + fest.festivalId}>{fest.festivalName}</a>
{/each}
{/if}

0 comments on commit e78444a

Please sign in to comment.