endpoint names don't shrink when url is long

master
Edward Shen 2019-05-02 02:26:05 -04:00
parent 8304f4c645
commit 567d5b36ed
Signed by: edward
GPG Key ID: F350507060ED6C90
3 changed files with 8 additions and 14 deletions

View File

@ -1 +1,2 @@
target/ target/
config/endstat_conf.ron

View File

@ -20,6 +20,7 @@ WORKDIR /app
COPY --from=builder /app/target/release/endstat /app COPY --from=builder /app/target/release/endstat /app
COPY ./config /app/config COPY ./config /app/config
RUN mv /app/config/endstat_conf.example.ron /app/config/endstat_conf.ron
EXPOSE 8080 EXPOSE 8080
CMD ["/app/endstat"] CMD ["/app/endstat"]

View File

@ -35,21 +35,13 @@
} }
p { margin: 0; } p { margin: 0; }
a { a { color: #fff; text-decoration: none; }
color: #fff;
text-decoration: none;
}
h1 { margin: 0; } h1 { margin: 0; }
h3 { margin: 0; text-align: justify; }
.info { h3 { margin: 0; text-align: justify; flex-shrink: 0; }
display: flex; .info { display: flex; align-items: baseline; }
align-items: baseline; .info a { text-align: right; }
} .spacer { flex: 1 0 1rem; }
.spacer {
flex: 1 0 1rem;
}
.indicator { .indicator {
width: 1rem; width: 1rem;
@ -59,7 +51,7 @@
.ok { background-color: #4ed34e; } .ok { background-color: #4ed34e; }
.warn { background-color: #fcfc64; } .warn { background-color: #fcfc64; }
.error { background-color: #ff392e; } .error { background-color: #ff392e; }
.error-msg { margin-top: 1rem; font-family: 'Source Code Pro', monospace;} .error-msg { margin-top: 1rem; font-family: 'Source Code Pro', monospace; }
</style> </style>
</head> </head>
<body> <body>