Skip to content

Commit d02db42

Browse files
authored
Merge pull request #242 from activebridge/fix/view_transition
Fix view transition(add critical.html), fix cards heigth
2 parents a7c13fa + c49d7ca commit d02db42

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

_includes/critical_css.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<style> @view-transition { navigation: auto; } </style>

_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
{% endfor %}
3737
{% endif %}
3838

39+
{% include critical_css.html %}
3940
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_css_url }}" />
4041
<link rel="preconnect" href="https://fonts.googleapis.com">
4142
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

_sass/development.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
display: flex;
4242
flex-direction: column;
4343
background: rgba($white, .4);
44-
max-height: max-content;
4544

4645
&__icon img {
4746
max-width: 110px;

_sass/ecommerce.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
max-width: 410px;
2121
background: rgba($white, .05);
2222
box-shadow: $main-shadow;
23-
max-height: max-content;
2423
margin: 5px;
2524
&__description { margin: 0; }
2625

0 commit comments

Comments
 (0)