fix console log time and server card layout
This commit is contained in:
@@ -58,6 +58,14 @@ describe("platform web shared theme CSS", () => {
|
||||
expect(css).toContain(":root[data-custom-background=true].server-card-stat");
|
||||
});
|
||||
|
||||
it("gives server cards enough room for long status labels", () => {
|
||||
const css = compact(readThemeCss());
|
||||
|
||||
expect(css).toContain(".server-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))");
|
||||
expect(css).toContain(".server-card-head{display:grid;gap:8px;min-width:0}");
|
||||
expect(css).toContain(".server-card-head>span:last-child{justify-self:start;white-space:normal");
|
||||
});
|
||||
|
||||
it("keeps magical custom-background signal rows readable without the jelly wash", () => {
|
||||
const css = compact(readThemeCss());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user