Compare commits

...

3 Commits

Author SHA1 Message Date
5b3eadb7bd Run tests before rebuilding app 2024-01-06 08:53:06 -08:00
28d484117b Change makefile to use variable for app name.
Make this more copypastable.
2024-01-06 08:52:42 -08:00
a0b0689e01 Fix wrapping/sizing of message bodies with long unbreakable text. 2024-01-06 08:52:19 -08:00
3 changed files with 14 additions and 3 deletions

View File

@ -1,7 +1,8 @@
.PHONY: all
APP=letterbox
# Build in release mode and push to minio for serving.
all:
trunk build --release
mc mirror m/letterbox/ /tmp/letterbox-$(shell date +%s)
mc mirror --overwrite --remove dist/ m/letterbox/
mc mirror m/$(APP)/ /tmp/$(APP)-$(shell date +%s)
mc mirror --overwrite --remove dist/ m/$(APP)/

View File

@ -15,3 +15,8 @@ backend="http://localhost:9345/original"
backend="http://localhost:9345/graphiql"
[[proxy]]
backend="http://localhost:9345/graphql"
[[hooks]]
stage = "pre_build"
command = "cargo"
command_arguments = [ "test" ]

View File

@ -10,7 +10,9 @@
<style>
.message {
padding: 0.5em;*/
display: inline-block;
padding: 0.5em;
width: 100%;
}
.message .headers {
width: 100%;
@ -27,12 +29,15 @@
margin-left: -0.5em;
margin-right: -0.5em;
margin-top: 0.5em;
width:0;
min-width:100%;
}
.error {
background-color: red;
}
.view-part-text-plain {
white-space: pre-line;
overflow-wrap: break-word;
}
iframe {
height: 100%;