Fix typo in style attribute

Because of the typo, image displayed in unintended aspect ratio, in some case.
This commit is contained in:
gageas
2017-12-21 22:32:27 +09:00
parent 378c031ecb
commit f8bda516d6

View File

@@ -1,7 +1,7 @@
@(account: Option[gitbucket.core.model.Account])(implicit context: gitbucket.core.controller.Context)
<div id="avatar" class="muted">
@if(account.nonEmpty && account.get.image.nonEmpty){
<img src="@context.path/@account.get.userName/_avatar" style="with: 120px; height: 120px;"/>
<img src="@context.path/@account.get.userName/_avatar" style="width: 120px; height: 120px;"/>
} else {
<div id="clickable">Upload Image</div>
}