mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
support UserPreview
on bigmode
This commit is contained in:
parent
b0bd41e796
commit
ceb447307d
@ -58,7 +58,8 @@ export default (props) => {
|
|||||||
"userPreview",
|
"userPreview",
|
||||||
{
|
{
|
||||||
["clickable"]: typeof props.onClick === "function",
|
["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 {
|
.avatar {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user