mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-11 17:42:48 +00:00
client - forum page now responsive - other adjustments as well
This commit is contained in:
@@ -1,9 +1,19 @@
|
||||
@import '../../scss/mixins';
|
||||
|
||||
.avatar-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding: 20px;
|
||||
padding-left: 10px;
|
||||
|
||||
&__image {
|
||||
|
||||
@include breakpoint(mediumOrLess) {
|
||||
width: 40px;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
&__item {
|
||||
margin-left: 10px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
@@ -160,7 +160,7 @@ export class UserAccount extends React.Component<Props, State> {
|
||||
const avatarClass = this.state.selectedAvatarIndex === index ? 'avatar-list__item--selected' : '';
|
||||
return (
|
||||
<div key={index} className={`avatar-list__item ${avatarClass}`} onClick={() => this.onAvatarSelect(index)}>
|
||||
<img src={val.imageSrc}/>
|
||||
<img className="avatar-list__image" src={val.imageSrc}/>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user