mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-05 06:43:21 +00:00
fix block popup on single instance
This commit is contained in:
parent
ed67986a0f
commit
dd03bad6b2
|
@ -442,12 +442,12 @@ form.nsfw div {
|
||||||
.entry .buttons .blockpopup {
|
.entry .buttons .blockpopup {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
border: 1px solid #888;
|
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
}
|
}
|
||||||
form.blockpost {
|
form.blockpost {
|
||||||
margin: 2px;
|
padding: 2px;
|
||||||
|
border: 1px solid #888;
|
||||||
}
|
}
|
||||||
.blockpost div:last-child input {
|
.blockpost div:last-child input {
|
||||||
margin: 4px 2px 4px 4px;
|
margin: 4px 2px 4px 4px;
|
||||||
|
|
|
@ -1585,6 +1585,7 @@ func GetRouter() *httprouter.Router {
|
||||||
router.GET("/c/:community/edit", middleware(GetCreateCommunity))
|
router.GET("/c/:community/edit", middleware(GetCreateCommunity))
|
||||||
router.GET("/post/:postid", middleware(GetPost))
|
router.GET("/post/:postid", middleware(GetPost))
|
||||||
router.POST("/post/:postid", middleware(UserOp))
|
router.POST("/post/:postid", middleware(UserOp))
|
||||||
|
router.GET("/post/:postid/:op", middleware(GetPost))
|
||||||
router.GET("/comment/:commentid", middleware(GetComment))
|
router.GET("/comment/:commentid", middleware(GetComment))
|
||||||
router.GET("/comment/:commentid/:op", middleware(GetComment))
|
router.GET("/comment/:commentid/:op", middleware(GetComment))
|
||||||
router.POST("/comment/:commentid", middleware(UserOp))
|
router.POST("/comment/:commentid", middleware(UserOp))
|
||||||
|
|
Loading…
Reference in a new issue