Skip to content

Commit dc02d52

Browse files
fix(GUI): OPDS catalogs header, wrapping behavior for long feed names/titles (PR #3451 Fixes #3442)
Co-authored-by: Daniel Weck <daniel.weck@gmail.com>
1 parent f803787 commit dc02d52

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/renderer/assets/styles/components/catalogs.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@
276276
padding: 15px;
277277
min-height: 40px;
278278
margin-bottom: 40px;
279+
flex-wrap: wrap;
280+
z-index: 1000;
281+
position: relative;
279282

280283
label {
281284
background-color: var(--color-gray-50)!important;
@@ -284,6 +287,7 @@
284287

285288
.form_group {
286289
min-width: 300px;
290+
margin-left: auto;
287291
}
288292

289293
// @media screen and (width <= 1024px) {
@@ -336,8 +340,7 @@
336340
position: absolute;
337341
padding-right: 25px;
338342
margin: 2px;
339-
padding-top: 40px;
340-
margin-top: 15px;
343+
margin-top: 55px;
341344

342345
.button_transparency {
343346
margin: 4px;

src/renderer/library/components/opds/CatalogHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const CatalogHeader: React.FC<React.PropsWithChildren<{ currentLocation:
2020
const dispatch = useDispatch();
2121

2222
return (
23-
<div style={{display: "flex", alignItems: "center", gap: "20px", width: "100%"}}>
23+
<div style={{display: "flex", alignItems: "center", gap: "20px"}}>
2424
{previousLocation ?
2525
<Link
2626
style={{width: "20px", height: "20px", transform: "rotate(180deg)"}}

0 commit comments

Comments
 (0)