Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions frontend/styles/compatibility.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,8 @@ body.read-only-mode .header {

}

body.read-only-mode .data-time-box {
width: 100%;
justify-content: space-between;
}

Comment on lines +104 to 107

Copilot AI Mar 31, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

body.read-only-mode .data-time-box { width: 100%; } is unlikely to have the intended “full-width row” effect because .header-content is now flex-wrap: nowrap (see frontend/styles/header.css). In read-only mode this will instead cause the flexbox algorithm to aggressively shrink the logo/title area to accommodate the 100% width basis, making the header text truncate more than necessary.

Consider either (a) removing the width: 100% rule and letting .data-time-box size to its contents, or (b) pairing this with a read-only override that allows wrapping (e.g. body.read-only-mode .header-content { flex-wrap: wrap; }) and/or using flex-basis: 100% only when wrapping is enabled.

Suggested change
width: 100%;
justify-content: space-between;
}
flex-basis: 100%;
justify-content: space-between;
}
body.read-only-mode .header-content {
flex-wrap: wrap;
}

Copilot uses AI. Check for mistakes.
8 changes: 6 additions & 2 deletions frontend/styles/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ body.read-only-mode .header-status-badge {
display: inline-flex;
}

body.read-only-mode .header-status-badge:empty {
display: none;
}

.header-actions {
justify-content: flex-end;
flex-wrap: nowrap;
Expand All @@ -232,7 +236,7 @@ body.read-only-mode .header-status-badge {

border-right: 1px solid var(--color-border-subtle);

align-items: flex-end;
align-items: center;

}

Expand Down Expand Up @@ -314,7 +318,7 @@ body.read-only-mode .header-status-badge {

border: none;

border-radius: var(--radius-pill);
border-radius: var(--radius-sm);

color: var(--md-sys-color-on-primary);

Expand Down
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</noscript>
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit" async defer></script>
<script src="/theme-init.js"></script>
<link rel="stylesheet" href="/dist/main-D-IViaAQ.css" id="vite-css">
<link rel="stylesheet" href="/dist/main-bt8E1vXG.css" id="vite-css">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
</head>

Expand Down Expand Up @@ -528,7 +528,7 @@ <h3 class="section-title">
</footer>
</div>

<script type="module" src="/dist/main-eCe3WGCp.js"></script>
<script type="module" src="/dist/main-D-w4GNFQ.js"></script>
</body>

</html>
Loading