fix block popup on single instance

This commit is contained in:
Ryan Stafford 2024-04-16 20:00:57 -04:00
parent ed67986a0f
commit dd03bad6b2
2 changed files with 3 additions and 2 deletions

View file

@ -442,12 +442,12 @@ form.nsfw div {
.entry .buttons .blockpopup {
display: inline-block;
position: absolute;
border: 1px solid #888;
z-index: 100;
background-color: white;
}
form.blockpost {
margin: 2px;
padding: 2px;
border: 1px solid #888;
}
.blockpost div:last-child input {
margin: 4px 2px 4px 4px;

View file

@ -1585,6 +1585,7 @@ func GetRouter() *httprouter.Router {
router.GET("/c/:community/edit", middleware(GetCreateCommunity))
router.GET("/post/:postid", middleware(GetPost))
router.POST("/post/:postid", middleware(UserOp))
router.GET("/post/:postid/:op", middleware(GetPost))
router.GET("/comment/:commentid", middleware(GetComment))
router.GET("/comment/:commentid/:op", middleware(GetComment))
router.POST("/comment/:commentid", middleware(UserOp))