mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-23 07:21:22 +02:00
fix css in chrome
This commit is contained in:
parent
030deba90c
commit
3096bf42ef
@ -40,6 +40,7 @@ limitations under the License.
|
||||
.mx_MemberInfo h2 {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
.mx_MemberInfo_container {
|
||||
@ -59,16 +60,15 @@ limitations under the License.
|
||||
}
|
||||
|
||||
.mx_MemberInfo_avatar {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto 1fr;
|
||||
background: $tagpanel-bg-color;
|
||||
}
|
||||
|
||||
.mx_MemberInfo_avatar > img {
|
||||
height: auto;
|
||||
width: 100%;
|
||||
grid-column: 2;
|
||||
max-height: 400px;
|
||||
max-height: 30vh;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mx_MemberInfo_avatar .mx_BaseAvatar {
|
||||
@ -133,3 +133,6 @@ limitations under the License.
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.mx_MemberInfo .mx_MemberInfo_scrollContainer {
|
||||
flex: 1;
|
||||
}
|
||||
|
@ -958,7 +958,7 @@ module.exports = withMatrixClient(React.createClass({
|
||||
{ roomMemberDetails }
|
||||
</div>
|
||||
</div>
|
||||
<GeminiScrollbarWrapper autoshow={true}>
|
||||
<GeminiScrollbarWrapper autoshow={true} className="mx_MemberInfo_scrollContainer">
|
||||
<div className="mx_MemberInfo_container">
|
||||
{ this._renderUserOptions() }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user