mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
restyle ant-avatar to set border-radius
This commit is contained in:
parent
925e5ee673
commit
fbb1f9a62b
@ -46,7 +46,7 @@ function PostHeader(props) {
|
|||||||
return <div className="postHeader">
|
return <div className="postHeader">
|
||||||
<div className="userInfo">
|
<div className="userInfo">
|
||||||
<div className="avatar">
|
<div className="avatar">
|
||||||
<antd.Avatar src={props.postData.user?.avatar} />
|
<antd.Avatar shape="square" src={props.postData.user?.avatar} />
|
||||||
</div>
|
</div>
|
||||||
<div className="info">
|
<div className="info">
|
||||||
<div>
|
<div>
|
||||||
|
@ -272,24 +272,4 @@
|
|||||||
// .actionsIndicator {
|
// .actionsIndicator {
|
||||||
// opacity: 0;
|
// opacity: 0;
|
||||||
// }
|
// }
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes fadeActionsIn {
|
|
||||||
from {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
to {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes fadeActionOut {
|
|
||||||
from {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
to {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -155,6 +155,10 @@ body {
|
|||||||
user-select : none;
|
user-select : none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.postCard {
|
||||||
|
min-width: 30px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fade-transverse-active {
|
.fade-transverse-active {
|
||||||
@ -259,6 +263,10 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-avatar-square {
|
||||||
|
border-radius: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
*:not(input):not(textarea) {
|
*:not(input):not(textarea) {
|
||||||
-webkit-user-select : none;
|
-webkit-user-select : none;
|
||||||
/* disable selection/Copy of UIWebView */
|
/* disable selection/Copy of UIWebView */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user