chore: fix some layout issues

This commit is contained in:
Alexander Medvedev 2026-04-19 13:36:20 +02:00
parent 089af4a639
commit d223ca3e20

View File

@ -224,6 +224,7 @@ h3 {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 1rem; gap: 1rem;
margin-left: auto;
} }
.nav-user-link { .nav-user-link {
@ -264,9 +265,41 @@ h3 {
.nav-search { .nav-search {
margin: 0 1rem; margin: 0 1rem;
} }
.plugin-detail-layout {
display: flex;
flex-direction: column;
gap: 2rem;
width: 100%;
max-width: 100%;
}
.plugin-sidebar {
order: -1;
width: 100%;
}
.sidebar-widget {
position: static;
width: 100%;
max-width: 100%;
box-sizing: border-box;
margin-bottom: 0;
}
.plugin-main-content {
width: 100%;
min-width: 0;
}
} }
@media (max-width: 768px) { @media (max-width: 768px) {
body, #root {
overflow-x: hidden;
width: 100%;
position: relative;
}
.mobile-menu-toggle { .mobile-menu-toggle {
display: block; display: block;
} }
@ -313,6 +346,7 @@ h3 {
flex-direction: column; flex-direction: column;
width: 100%; width: 100%;
gap: 1rem; gap: 1rem;
margin-left: 0;
} }
.nav-actions .btn { .nav-actions .btn {
@ -320,19 +354,33 @@ h3 {
} }
.plugin-detail-layout { .plugin-detail-layout {
grid-template-columns: 1fr;
gap: 1.5rem;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
grid-template-columns: 1fr; /* Override grid */
gap: 1.5rem;
width: 100%;
max-width: 100%;
overflow: hidden;
} }
.plugin-sidebar { .plugin-sidebar {
order: -1; /* Download button at the top for mobile */ order: -1;
width: 100%;
margin: 0;
} }
.sidebar-widget { .sidebar-widget {
position: static; position: static;
padding: 1.5rem; padding: 1.5rem;
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
.plugin-main-content {
width: 100%;
max-width: 100%;
min-width: 0;
} }
.plugin-title { .plugin-title {
@ -358,6 +406,12 @@ h3 {
max-height: 300px; max-height: 300px;
} }
main {
display: block;
width: 100%;
min-height: auto;
}
.container { .container {
padding: 1.5rem 1rem; padding: 1.5rem 1rem;
} }