Skip to content

Commit

Permalink
Tweak styles
Browse files Browse the repository at this point in the history
  • Loading branch information
tyom committed Oct 4, 2023
1 parent 678f735 commit 08efc01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/components/ExperienceItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</script>

<div
class="experience-item space-y-4 break-inside-avoid-page"
class="experience-item space-y-4 break-inside-avoid-page max-w-[70ch]"
class:print:hidden={shouldHideFromPrint()}
>
<header class="space-y-1">
Expand All @@ -36,7 +36,7 @@
<span class="text-gray-500">({duration})</span>
{/if}
{#if location}
<span class="location">({location})</span>
<span class="text-gray-500">({location})</span>
{/if}
</div>
<h3 class="font-bold leading-tight text-[1.25em]">
Expand All @@ -49,15 +49,15 @@
{role}
{#if isContractor}
<span
class="inline align-middle text-sm font-bold uppercase p-1 rounded bg-blue-50 text-blue-900 print:(text-gray-500 border bg-white ml-1 text-xs)"
class="inline align-middle text-xs font-bold uppercase py0.5 px-1 rounded bg-blue-50 text-blue-900 print:(text-gray-600 border border-zinc-300 bg-none ml-1 text-xs)"
>
Contract
</span>
{/if}
</div>
</header>
{#if description}
<div class="description">
<div class="max-w-[70ch]">
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
{@html description}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Summary.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
>
<h1 class="font-bold tracking-wide leading-none text-[2.9em]">{name}</h1>
<h2 class="leading-none opacity-60 text-[1.4em]">{title}</h2>
<div class="max-w-[68ch] leading-snug">
<div class="max-w-[60ch] leading-snug">
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
{@html details}
</div>
Expand Down

0 comments on commit 08efc01

Please sign in to comment.