Skip to content

Commit a53e32e

Browse files
committed
tweak(breadcrumbs): adjust position
1 parent 93be138 commit a53e32e

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/view/components/container/breadcrumbs/breadcrumbs-item.svelte

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,14 @@
3636
}
3737
.breadcrumbs-item {
3838
height: 30px;
39-
border-bottom: 1px solid var(--background-modifier-border);
4039
color: var(--text-muted);
41-
background-color: var(--interactive-normal);
4240
cursor: pointer;
43-
padding: 2px 4px;
44-
border-radius: var(--radius-s);
41+
padding: 2px 8px;
4542
max-width: 350px;
4643
white-space: nowrap;
4744
overflow: hidden;
4845
text-overflow: ellipsis;
49-
font-size: 14px;
46+
font-size: 12px;
5047
line-height: 25px;
5148
}
5249

src/view/components/container/breadcrumbs/breadcrumbs.svelte

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,24 @@
2323
2424
.breadcrumbs-container {
2525
z-index: var(--z-index-breadcrumbs);
26-
left: var(--size-4-2);
27-
bottom: var(--size-4-2);
26+
left: 0;
27+
bottom: 0;
2828
display: flex;
2929
position: absolute;
30-
max-width: calc(100% - var(--size-4-2) * 2);
30+
max-width: calc(100% - var(--size-4-2) * 2 - 34px);
3131
}
3232
.breadcrumbs {
3333
display: flex;
3434
align-items: center;
3535
justify-content: center;
36-
border-radius: var(--radius-s);
37-
background-color: var(--interactive-normal);
38-
box-shadow: var(--input-shadow);
36+
border-style: solid;
37+
border-width: 1px 1px 0 0;
38+
border-color: var(--status-bar-border-color);
39+
border-radius: 0 6px 0 0;
40+
background-color:var(--status-bar-background);
41+
3942
max-width: 100%;
40-
overflow: auto;
43+
overflow: hidden;
4144
font-size: var(--file-header-font-size);
4245
color: var(--text-muted);
4346
gap: 0;

0 commit comments

Comments
 (0)