mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
support UserPreview
on bigmode
This commit is contained in:
parent
b0bd41e796
commit
ceb447307d
@ -58,7 +58,8 @@ export default (props) => {
|
||||
"userPreview",
|
||||
{
|
||||
["clickable"]: typeof props.onClick === "function",
|
||||
["small"]: props.small
|
||||
["small"]: props.small && !props.big,
|
||||
["big"]: props.big && !props.small,
|
||||
}
|
||||
)}
|
||||
>
|
||||
|
@ -26,6 +26,28 @@
|
||||
}
|
||||
}
|
||||
|
||||
&.big {
|
||||
flex-direction: column;
|
||||
font-size: 1.6em;
|
||||
|
||||
width: 80vw;
|
||||
|
||||
padding: 20px;
|
||||
|
||||
background-color: var(--background-color-accent);
|
||||
border-radius: 12px;
|
||||
|
||||
.avatar {
|
||||
width: 50vw;
|
||||
height: 50vw;
|
||||
}
|
||||
|
||||
.info {
|
||||
padding: 20px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.avatar {
|
||||
display: flex;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user