Skip to content

Commit

Permalink
Add viewBox to fix size problems
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed May 23, 2023
1 parent 5854ddb commit 27b08a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/VBrand/VBrand.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<div class="flex flex-row items-center">
<!-- Using `flex` to place two SVGs side by side. -->
<span class="inline-flex h-[1em] flex-row gap-[0.4em]" aria-hidden="true">
<VSvg class="h-full w-auto" viewbox="0 0 50 42" name="logo" />
<VSvg class="h-full w-auto" viewbox="0 0 215 42" name="brand" />
<VSvg class="h-full w-auto" viewBox="0 0 50 42" name="logo" />
<VSvg class="h-full w-auto" viewBox="0 0 215 42" name="brand" />
</span>
<span v-if="srText" class="sr-only">{{ srText }}</span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/VHeader/VHomeLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"
class="h-12 px-4 text-[1.125rem]"
>
<VSvg name="logo" class="me-2 h-[1em] w-auto" />
<VSvg name="brand" class="h-[1em] w-auto" />
<VSvg name="logo" class="me-2 h-[1em] w-auto" viewBox="0 0 50 42" />
<VSvg name="brand" class="h-[1em] w-auto" viewBox="0 0 215 42" />
</VButton>
</template>

Expand Down

0 comments on commit 27b08a0

Please sign in to comment.