Skip to content

Commit

Permalink
BCTHEME-269 Remove layout shifts to improve CLS indicator from Lighth…
Browse files Browse the repository at this point in the history
…ouse performance report (#1869)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>
  • Loading branch information
yurytut1993 and BC-tymurbiedukhin authored Oct 21, 2020
1 parent 4fceae0 commit 9458846
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Draft
- Remove layout shifts to improve CLS indicator from Lighthouse performance report. [#1869](https://github.com/bigcommerce/cornerstone/pull/1869)
- Fix aria-labels for collapsibleFactory elements. [#1868](https://github.com/bigcommerce/cornerstone/pull/1868)
- Fixed social icons click behaviour after quick view modal reopening. [#1874](https://github.com/bigcommerce/cornerstone/pull/1874)
- Fixed Special Characters rendering under Wishlists. [#1873](https://github.com/bigcommerce/cornerstone/pull/1873)
Expand Down
11 changes: 11 additions & 0 deletions templates/layout/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,17 @@
</script>
<script async src="{{cdn 'assets/dist/theme-bundle.head_async.js'}}"></script>

<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script>

<script>
WebFont.load({
custom: {
families: ['Karla', 'Roboto', 'Source Sans Pro']
},
classes: false
});
</script>

{{ getFontsCollection }}
{{{stylesheet '/assets/css/theme.css'}}}

Expand Down

0 comments on commit 9458846

Please sign in to comment.