mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
Fix Memex Update Form Jank
This commit is contained in:
parent
978311327e
commit
63d9c70667
@ -73,6 +73,9 @@ public class MemexService extends Service {
|
|||||||
before((req, rsp) -> {
|
before((req, rsp) -> {
|
||||||
logger.info("{} {}", req.requestMethod(), req.pathInfo());
|
logger.info("{} {}", req.requestMethod(), req.pathInfo());
|
||||||
});
|
});
|
||||||
|
after((req, rsp) -> {
|
||||||
|
rsp.header("Cache-control", "no-cache");
|
||||||
|
});
|
||||||
|
|
||||||
post("/create", this::create);
|
post("/create", this::create);
|
||||||
get("/create", this::createForm, this::renderModel);
|
get("/create", this::createForm, this::renderModel);
|
||||||
|
@ -5,6 +5,11 @@ body {
|
|||||||
background-color: #f8f8ee;
|
background-color: #f8f8ee;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
width: 100%;
|
||||||
|
height: 60ch;
|
||||||
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
background-color: #acae89;
|
background-color: #acae89;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
@ -233,3 +238,4 @@ footer {
|
|||||||
box-shadow: #0008 0 0 5px;
|
box-shadow: #0008 0 0 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user