Skip to content

Commit

Permalink
Fix scala#2812: update author-image width
Browse files Browse the repository at this point in the history
Fixing author-image to be bound to 100px max. Fixes: scala#2812

With:
```
width:100px
height:auto
```

On firefox, the image is scaled to be 100x100. However on chrome, it ends up being 200x100.

Since we wan't to fix the width to 100px (from that original css), I've updated the max-width and max-height to be 100, so the image is always squared.
  • Loading branch information
AnEmortalKid committed Jul 8, 2017
1 parent ac57b14 commit 39c34cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc-tool/resources/css/dottydoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ div#doc-page-container > p + h1 {
div#post-footer > img#author-image {
width: auto;
height: auto;
max-width:100px;
max-height:100px;
border-radius: 50%;
}

Expand Down

0 comments on commit 39c34cb

Please sign in to comment.