mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-14 03:56:55 +03:00
fix(app): show the session header location as icons (#57811)
Co-authored-by: usrnk1 <7547651+usrnk1@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
60e105161c
commit
17332b6b3d
@@ -20,6 +20,20 @@
|
||||
|
||||
.session-header-location > [data-slot="session-location-trigger"] {
|
||||
max-inline-size: 100%;
|
||||
gap: 6px;
|
||||
padding-inline: 4px;
|
||||
}
|
||||
|
||||
/* The header shows the location as the project avatar and, in a worktree, the worktree icon, so the title keeps the
|
||||
row. The names stay for assistive tech, and the location card shows them in full. */
|
||||
.session-header-location [data-slot="session-location-project"],
|
||||
.session-header-location [data-slot="session-location-worktree"] {
|
||||
position: absolute;
|
||||
inline-size: 1px;
|
||||
block-size: 1px;
|
||||
overflow: hidden;
|
||||
clip-path: inset(50%);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.session-header-title {
|
||||
|
||||
Reference in New Issue
Block a user