We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
featured
1 parent d4dcf81 commit b51f7e1Copy full SHA for b51f7e1
2 files changed
src/_includes/sections/featured.njk
@@ -43,8 +43,8 @@
43
</div>
44
<div class="featured-right">
45
<img src="/assets/images/bikeforrupiah.png"
46
- width="100"
47
- height="100"
+ width="400"
+ height="400"
48
alt=""
49
srcset="">
50
src/assets/scss/components/_featured.scss
@@ -44,11 +44,18 @@
min-height: 10em;
}
- img {
- all: unset;
- overflow: clip-path !important;
+ picture {
+ overflow: clip !important;
width: min(100%, 26.1875rem);
51
aspect-ratio: 1/1;
+
52
+ img {
53
+ width: 100%;
54
+ height: 100%;
55
+ object-fit: cover;
56
+ object-position: center;
57
+ border-radius: 0.3em;
58
+ }
59
60
61
#svg {
0 commit comments