Skip to content

Commit

Permalink
fix: add proper dimensions to the site logo to avoid layout shifts
Browse files Browse the repository at this point in the history
Refs: ODSG-45
  • Loading branch information
orakili committed Aug 30, 2023
1 parent c5cc272 commit ffa46dc
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{#
/**
* @file
* Theme override for system branding block (site logo).
*/
#}
<a href="{{ path('<front>') }}" title="{{ 'Front page'|t }}" rel="home" class="cd-site-logo">
<img src="{{ site_logo }}" alt="{{ site_name }}" aria-hidden="true" width="186" height="46">
<span class="visually-hidden">{{ site_name }}</span>
</a>

0 comments on commit ffa46dc

Please sign in to comment.