Fix avatar sizing in user card

This commit is contained in:
Jeremy Zhang 2017-12-07 07:10:55 +00:00
parent e00566c2ed
commit 80468f71f0
2 changed files with 3 additions and 2 deletions

View File

@ -681,6 +681,7 @@ p.mentioned span.chatmessage {
#usercard .avatar { #usercard .avatar {
width: 100%; width: 100%;
max-width: 120px;
} }
#usercard .identity { #usercard .identity {

View File

@ -178,12 +178,12 @@
<div id="usercard" class="modal bottom-sheet"> <div id="usercard" class="modal bottom-sheet">
<div class="modal-content"> <div class="modal-content">
<div class="row"> <div class="row">
<div class="col s12 m1"> <div class="col s12 m2">
<img class="circle avatar" src=""> <img class="circle avatar" src="">
<br> <br>
<a class="waves-effect waves-light btn" id="usercard-mention-btn">Mention</a> <a class="waves-effect waves-light btn" id="usercard-mention-btn">Mention</a>
</div> </div>
<div class="col s12 m11"> <div class="col s12 m10">
<h4 class="identity"><span class="username"></span><span class="hash">#</span><span class="discriminator"></span></h4> <span class="bottag">BOT</span> <h4 class="identity"><span class="username"></span><span class="hash">#</span><span class="discriminator"></span></h4> <span class="bottag">BOT</span>
<div class="badges"> <div class="badges">
<a class="administrator tooltipped" data-tooltip="TitanEmbeds Administrator" data-position="top" href="https://titanembeds.com/" target="_blank"><i class="material-icons">gavel</i></a> <a class="administrator tooltipped" data-tooltip="TitanEmbeds Administrator" data-position="top" href="https://titanembeds.com/" target="_blank"><i class="material-icons">gavel</i></a>