fix: library items not of same size #380
This commit is contained in:
2 files changed
+6
-7
No files matched your search
@@ -1283,8 +1283,9 @@ function Library() {
|
||||
) : items.data?.TotalRecordCount === 0 ? (
|
||||
<EmptyNotice
|
||||
extraMsg={
|
||||
currentViewType === BaseItemKind.Trailer &&
|
||||
"Install the trailers channel to enhance your movie experience by adding a library of internet trailers."
|
||||
currentViewType === BaseItemKind.Trailer
|
||||
? "Install the trailers channel to enhance your movie experience by adding a library of internet trailers."
|
||||
: undefined
|
||||
}
|
||||
/>
|
||||
) : currentViewType !== BaseItemKind.Audio ? (
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
&-icon {
|
||||
font-size: 3em;
|
||||
fill: url(#clr-gradient-default) !important;
|
||||
|
||||
&-container {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@@ -33,7 +32,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.library {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
@@ -120,7 +118,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Fix card width with virtual rows
|
||||
.card {
|
||||
width: 100%;
|
||||
@@ -130,7 +127,8 @@
|
||||
// Layout css for dynamic virtual rows
|
||||
&-virtual-item {
|
||||
width: 14%;
|
||||
flex-basis: 14%;
|
||||
min-width: 0;
|
||||
// flex: 0 0 0;
|
||||
height: fit-content;
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
@@ -140,8 +138,8 @@
|
||||
&-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-basis: 14%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user