mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Small css fixes and added <bdi> element
This commit is contained in:
parent
bb8d6378fb
commit
b671da1086
@ -244,6 +244,10 @@
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
|
||||
[dir="rtl"] & {
|
||||
transition: right ease-in-out 0.3s, padding ease-in-out 0.3s;
|
||||
}
|
||||
}
|
||||
|
||||
.centerMessage {
|
||||
@ -278,7 +282,7 @@
|
||||
}
|
||||
|
||||
.dashboardDocument .skinBody {
|
||||
inset-inline-start: 20em;
|
||||
left: 20em;
|
||||
}
|
||||
}
|
||||
|
||||
@ -477,8 +481,7 @@
|
||||
.detailPageContent {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding-left: 32.45vw;
|
||||
padding-right: 2%;
|
||||
padding-inline: 32.45vw 2%;
|
||||
|
||||
.layout-mobile & {
|
||||
padding-left: 5%;
|
||||
@ -493,9 +496,6 @@
|
||||
}
|
||||
|
||||
[dir="rtl"] & {
|
||||
padding-right: 32.45vw;
|
||||
padding-left: 2%;
|
||||
|
||||
.layout-desktop &,
|
||||
.layout-tv & {
|
||||
.emby-scroller {
|
||||
|
@ -912,7 +912,7 @@ function renderOverview(page, item) {
|
||||
|
||||
if (overview) {
|
||||
for (const overviewElemnt of overviewElements) {
|
||||
overviewElemnt.innerHTML = overview;
|
||||
overviewElemnt.innerHTML = '<bdi>' + overview + '</bdi>';
|
||||
overviewElemnt.classList.remove('hide');
|
||||
overviewElemnt.classList.add('detail-clamp-text');
|
||||
|
||||
@ -1065,7 +1065,7 @@ function renderTagline(page, item) {
|
||||
|
||||
if (item.Taglines && item.Taglines.length) {
|
||||
taglineElement.classList.remove('hide');
|
||||
taglineElement.innerText = item.Taglines[0];
|
||||
taglineElement.innerHTML = '<bdi>' + item.Taglines[0] + '</bdi>';
|
||||
} else {
|
||||
taglineElement.classList.add('hide');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user