File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
components/layout components/Trending/TrendingItem Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change
1
+ import { HamburgerIcon } from "@chakra-ui/icons" ;
1
2
import {
2
3
Flex ,
3
4
Image ,
@@ -152,16 +153,18 @@ const TrendingItem = ({
152
153
> </ i >
153
154
{ adminPrivilages . postAccessibility && (
154
155
< Fragment >
155
- < Flex mt = "10px" >
156
+ < Flex mt = "10px" className = "admin-post-drop" >
156
157
< Menu >
157
158
< MenuButton
158
159
as = { Flex }
159
- w = "15px "
160
+ w = "20px "
160
161
h = "20px"
161
162
justifyContent = "center"
162
163
alignItems = "center"
163
164
_hover = { { bg : "#ffffff80" } }
164
- > </ MenuButton >
165
+ >
166
+ < HamburgerIcon />
167
+ </ MenuButton >
165
168
< MenuList >
166
169
< MenuItem onClick = { ( ) => deletePost ( post . _id ) } >
167
170
Delete
Original file line number Diff line number Diff line change 10
10
height : 100% ;
11
11
/* overflow-x: hidden; */
12
12
}
13
+
14
+ .admin-post-drop div span {
15
+ display : flex;
16
+ justify-content : center;
17
+ align-items : center;
18
+ }
You can’t perform that action at this time.
0 commit comments