- added aspect-ratio for bando hero image;

This commit is contained in:
Vitalii Kiiko
2024-10-23 12:42:53 +02:00
parent b6a4c92943
commit 78df0a1e52
5 changed files with 20 additions and 9 deletions

View File

@@ -170,8 +170,11 @@
.appPageSection__hero {
display: flex;
height: 250px;
aspect-ratio: 16 / 9;
width: 100%;
@supports not (aspect-ratio: 16 / 9) {
height: calc(100% * 9/16);
}
img {
width: 100%;