mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
fix transform for profiles without cover
This commit is contained in:
parent
5078abc98e
commit
10f1d8f110
@ -204,7 +204,12 @@ export default class Account extends React.Component {
|
||||
|
||||
return <div
|
||||
ref={this.profileRef}
|
||||
className="accountProfile"
|
||||
className={classnames(
|
||||
"accountProfile",
|
||||
{
|
||||
["noCover"]: !user.cover,
|
||||
}
|
||||
)}
|
||||
id="profile"
|
||||
>
|
||||
{
|
||||
|
@ -8,6 +8,14 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
&.noCover {
|
||||
.panels {
|
||||
.leftPanel {
|
||||
transform: translate(0, 0) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.topHidden {
|
||||
.cover {
|
||||
height: 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user