LibWebView: Elide overflowed title text on about:history
If the title was one long string without any whitespace, it would have previously "escaped" its content box.
This commit is contained in:
parent
7f9f01b4d8
commit
66c93b5288
1 changed files with 8 additions and 5 deletions
|
|
@ -115,12 +115,19 @@
|
|||
.entry-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.entry-title {
|
||||
color: inherit;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
|
|
@ -184,11 +191,6 @@
|
|||
.entry-meta {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.entry-actions {
|
||||
width: 100%;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
@ -427,6 +429,7 @@
|
|||
className: "entry-title",
|
||||
href: entry.url,
|
||||
textContent: title,
|
||||
title,
|
||||
}),
|
||||
createElement("div", {
|
||||
className: "entry-url",
|
||||
|
|
|
|||
Loading…
Reference in a new issue