This is an automated email from the ASF dual-hosted git repository.

aloalt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git


The following commit(s) were added to refs/heads/main by this push:
     new de5907f  add responsive image class
de5907f is described below

commit de5907f7b585821c9a523729640ab7a223a2f6a9
Author: Alexander Alten <[email protected]>
AuthorDate: Tue Dec 19 08:09:18 2023 +0100

    add responsive image class
---
 _sass/main.scss | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/_sass/main.scss b/_sass/main.scss
index d614778..febb058 100644
--- a/_sass/main.scss
+++ b/_sass/main.scss
@@ -24,3 +24,9 @@ body {
   color: $bodyColor;
   font-family: $bodyFont;
 }
+.responsive {
+  width: 100%;
+  height: 300px;
+  object-fit: cover;
+  object-position: top;
+}

Reply via email to