+
-
- Gatitos el gai
-
+ HandleVisibility()} />
+
-
) : null
)
}
diff --git a/src/components/MicroHeader/index.less b/src/components/MicroHeader/index.less
index 1393d103..2816a6ef 100644
--- a/src/components/MicroHeader/index.less
+++ b/src/components/MicroHeader/index.less
@@ -5,7 +5,7 @@
width: 100%;
height: auto;
position: absolute;
- z-index: 100;
+ z-index: 10;
top: 0;
text-align: center;
:global {
@@ -14,9 +14,17 @@
max-width: 7%;
margin: auto;
padding: 5px;
+ border-radius: 0 0 13px 13px;
+ transform: translate(0, -30px);
+ transition: all 150ms ease-in;
+ }
+ .ant-card-body:hover {
+
+ transform: translate(0, 0px);
+ transition: all 150ms ease-in;
}
.ant-btn {
- background-color: rgba(0, 0, 0, 0.1);
+ background-color: transparent;
margin: 3px;
}
}
diff --git a/src/components/PostCard/index.js b/src/components/PostCard/index.js
index 1198b83e..eeeea250 100644
--- a/src/components/PostCard/index.js
+++ b/src/components/PostCard/index.js
@@ -57,7 +57,7 @@ class PostCard extends React.PureComponent{
render(){
const { payload, customActions, } = this.props
- const { user, ago, avatar, content, file, postFileName, publisher, post_likes } = payload || emptyPayload;
+ const { user, ago, avatar, content, file, postFileName, publisher, post_likes, is_post_pinned } = payload || emptyPayload;
const defaultActions = [
{post_likes}
,
,
]
const actions = customActions || defaultActions;
return(
@@ -65,7 +65,7 @@ class PostCard extends React.PureComponent{
}
- title={