mirror of
https://github.com/zadam/trilium.git
synced 2025-12-12 10:24:23 +01:00
feat(breadcrumb): improve overflow slightly
This commit is contained in:
parent
eca2116adc
commit
a365814aaa
@ -11,23 +11,30 @@
|
|||||||
gap: 0.25em;
|
gap: 0.25em;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
max-width: 85%;
|
||||||
|
|
||||||
> span,
|
> span,
|
||||||
> span > span {
|
> span > span {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
max-width: 100px;
|
max-width: 150px;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: block;
|
display: block;
|
||||||
|
flex-shrink: 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
> span:last-of-type a {
|
||||||
|
max-width: 300px;
|
||||||
|
flex-shrink: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
@ -39,7 +46,6 @@
|
|||||||
|
|
||||||
.dropdown-item span,
|
.dropdown-item span,
|
||||||
.dropdown-item strong {
|
.dropdown-item strong {
|
||||||
max-width: 200px;
|
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user