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 { .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;

View file

@ -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))