Skip to content

Commit

Permalink
CSS: Set width of images in descriptions to 100%
Browse files Browse the repository at this point in the history
at the bottom of the geenrator pages
  • Loading branch information
florianfesti committed Sep 19, 2021
1 parent aad270e commit a88afc9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/boxesserver
Expand Up @@ -265,6 +265,7 @@ class BServer:
-->
<div class="clear"></div>
<hr />
<div class="description">
""")
no_img_msg = _('There is no image yet. Please donate an image of your project on <a href=&quot;https://github.com/florianfesti/boxes/issues/140&quot;>GitHub</a>!')

Expand All @@ -278,6 +279,7 @@ class BServer:

result.append("""
</div>
</div>
""" + self.footer(lang) + """</body>
</html>
""" )
Expand Down
4 changes: 4 additions & 0 deletions static/self.css
Expand Up @@ -117,6 +117,10 @@ video {
height: 0;
}

.description img {
width: 100%;
}

.footer {
-webkit-box-shadow: none;
box-shadow: none;
Expand Down

0 comments on commit a88afc9

Please sign in to comment.