diff --git a/templates/projects.html b/templates/projects.html
index b2db2ed..d0aac0a 100644
--- a/templates/projects.html
+++ b/templates/projects.html
@@ -538,7 +538,7 @@
.related-tag-stack {
display: grid;
- gap: 10px;
+ gap: 8px;
width: 100%;
}
@@ -551,52 +551,86 @@
.related-project-tag {
display: inline-flex;
align-items: center;
- gap: 8px;
- border: 1px solid #d7e2eb;
- background: #f7fbfe;
- color: #29485f;
+ gap: 4px;
+ min-width: 0;
+ max-width: 100%;
+ border: 1px solid var(--line);
+ background: rgba(255, 255, 255, 0.96);
+ color: var(--ink);
border-radius: 999px;
- min-height: 18px;
- padding: 1px 10px;
+ min-height: 10px;
+ padding: 0 8px;
font-size: 12px;
font-weight: 700;
- line-height: 1.05;
+ line-height: 1;
}
.related-project-tag.is-muted {
opacity: 0.72;
}
+ .related-project-main {
+ display: inline-flex;
+ align-items: center;
+ gap: 4px;
+ min-width: 0;
+ flex: 1 1 auto;
+ }
+
.related-project-open {
border: 0;
background: transparent;
color: inherit;
font-size: 12px;
font-weight: 800;
- line-height: 1.1;
+ line-height: 1;
padding: 0;
- text-decoration: underline;
- text-underline-offset: 2px;
+ text-decoration: none;
cursor: pointer;
+ box-shadow: none !important;
+ transform: none !important;
+ flex: 0 0 auto;
+ }
+
+ .related-project-open:hover {
+ color: inherit;
+ background: transparent;
+ text-decoration: none;
+ }
+
+ .related-project-name {
+ min-width: 0;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ color: #486072;
+ line-height: 1;
+ }
+
+ .related-project-actions {
+ display: inline-flex;
+ align-items: center;
+ gap: 4px;
+ flex: 0 0 auto;
}
.related-project-tag .related-project-toggle,
.related-project-tag [data-remove-related] {
- width: 14px;
- height: 14px;
- min-width: 14px;
- min-height: 14px;
- max-width: 14px;
- max-height: 14px;
+ width: 12px;
+ height: 12px;
+ min-width: 12px;
+ min-height: 12px;
+ max-width: 12px;
+ max-height: 12px;
padding: 0;
- border-radius: 50%;
+ border-radius: 0;
aspect-ratio: 1 / 1;
border: 0;
- background: rgba(41, 72, 95, 0.08);
- color: #29485f;
+ background: transparent;
+ color: var(--muted);
box-shadow: none !important;
transform: none !important;
- font-size: 11px;
+ font-size: 10px;
line-height: 1;
display: inline-flex;
align-items: center;
@@ -606,7 +640,8 @@
.related-project-tag .related-project-toggle:hover,
.related-project-tag [data-remove-related]:hover {
transform: none;
- background: rgba(41, 72, 95, 0.14);
+ background: transparent;
+ color: var(--ink);
}
.related-project-toggle {
@@ -7284,12 +7319,16 @@
const isInactive = inactiveCodes.has(item.support_dept_code);
return `
-
- · ${escapeHtml(item.support_dept_name)}
-
-
+
+
+ ${escapeHtml(item.support_dept_name)}
+
+
+
+
+
`;
}).join("");