[Git][reproducible-builds/reproducible-website][master] Try and avoid sponsor images getting too large and weird in large viewports.

Chris Lamb (@lamby) gitlab at salsa.debian.org
Mon Jan 3 11:13:11 UTC 2022



Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website


Commits:
cf963769 by Chris Lamb at 2022-01-03T11:12:56+00:00
Try and avoid sponsor images getting too large and weird in large viewports.

- - - - -


2 changed files:

- _includes/navbar_side.html
- assets/styles/custom.scss


Changes:

=====================================
_includes/navbar_side.html
=====================================
@@ -18,7 +18,7 @@
 {% assign sponsors = sponsors | concat: site.data.sponsors[level] %}
 {% endfor %}
 {% if sponsors.size != 0 %}
-<div class="row">
+<div class="row sponsors">
 <div class="fixed-bottom">
     {% for x in sponsors %}
     <div class="col-md-2 col-sm-3 mb-2 p-2">


=====================================
assets/styles/custom.scss
=====================================
@@ -102,3 +102,11 @@ main {
     }
   }
 }
+
+.sidebar {
+  .sponsors {
+    .card {
+      max-width: 200px;
+    }
+  }
+}



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/cf963769ec029159906ccee2d067a0af307d8e69

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/cf963769ec029159906ccee2d067a0af307d8e69
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20220103/79169b33/attachment.htm>


More information about the rb-commits mailing list