Skip to content

Commit

Permalink
couple more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakeii committed Jan 4, 2024
1 parent 958c227 commit bffaf71
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
10 changes: 8 additions & 2 deletions src/templates/components/ManualCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@
picture,
img {
display: block;
width: 100%;
width: auto;
max-width: 100%;
max-height: 150px;
}
h2 {
Expand Down Expand Up @@ -115,7 +117,6 @@
@media (min-width: 740px) {
a.card {
max-width: 25%;
padding: 12px 10px;
display: block;
margin: 0px;
Expand All @@ -142,6 +143,11 @@
.media {
width: calc(66.67% - 10px);
margin-right: 10px;
picture,
img {
max-height: 100%;
}
}
.text {
Expand Down
12 changes: 7 additions & 5 deletions src/templates/components/ToneLogo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@
};
</script>

{#if toneLogoMapping[tone]}
<svelte:component this={toneLogoMapping[tone]} />
{:else}
<svelte:component this={BrandSvg} />
{/if}
<div style:color="#fff">
{#if toneLogoMapping[tone]}
<svelte:component this={toneLogoMapping[tone]} />
{:else}
<svelte:component this={BrandSvg} />
{/if}
</div>

0 comments on commit bffaf71

Please sign in to comment.