diff --git a/apps/cyberstorm-remix/app/c/Community.css b/apps/cyberstorm-remix/app/c/Community.css
index 1548c945b..1d5d40e0d 100644
--- a/apps/cyberstorm-remix/app/c/Community.css
+++ b/apps/cyberstorm-remix/app/c/Community.css
@@ -26,7 +26,7 @@
align-items: center;
align-self: stretch;
justify-content: center;
- height: 12.5rem;
+ max-height: 12.5rem;
border-radius: 0.5rem;
overflow-y: hidden;
transition: height 2s;
@@ -36,6 +36,10 @@
background: var(--color-ui-surface-1);
opacity: 0.8;
}
+
+ .skeleton {
+ height: 12.5rem;
+ }
}
.community__background--packagePage {
@@ -47,12 +51,14 @@
}
}
- .community__content-header {
+ .community__content-header-wrapper {
z-index: 1;
display: flex;
+ flex-wrap: wrap;
gap: 1.5rem;
- align-items: flex-end;
+ place-items: flex-end stretch;
align-self: stretch;
+ justify-content: space-between;
height: max-content;
margin-top: -1rem;
padding-left: 1rem;
@@ -62,6 +68,16 @@
visibility 1s 0s;
}
+ .community__content-header {
+ display: flex;
+ flex-grow: 1;
+ gap: 1.5rem;
+ align-items: flex-end;
+ align-self: stretch;
+ min-width: 75%;
+ height: max-content;
+ }
+
.community__content-header--hide {
height: 0;
visibility: collapse;
@@ -101,11 +117,10 @@
.community__content-header-content {
display: flex;
flex-direction: column;
+ flex-grow: 1;
gap: 0.75rem;
align-items: flex-start;
justify-content: center;
- width: 100%;
- height: 5rem;
}
.community__header-info {
@@ -115,16 +130,26 @@
gap: 0.25rem;
align-items: flex-start;
align-self: stretch;
- width: 40%;
+ min-width: 60%;
+ max-width: 100%;
+
+ > h1 {
+ line-height: 80%;
+ overflow-wrap: anywhere;
+ }
}
.community__header-meta {
display: flex;
- flex: 0 1 0;
+ flex: 0 1 60%;
gap: 1.5rem;
align-items: center;
- width: 60%;
- min-height: 16px;
+ min-width: 60%;
+ height: 16px;
+
+ > .skeleton {
+ height: 1rem;
+ }
}
.community__small-image {
@@ -151,7 +176,7 @@
.community__meta {
display: flex;
flex-wrap: wrap;
- gap: var(--gap-xxxl);
+ gap: var(--gap-3xl);
align-items: center;
}
@@ -169,9 +194,36 @@
}
}
+ @media (width >= 41rem) {
+ .community__background {
+ height: 12.5rem;
+ }
+ }
+
+ @media (width < 41rem) {
+ .community__background {
+ .skeleton {
+ height: 8rem;
+ }
+ }
+
+ .community__header {
+ gap: 1rem;
+ }
+
+ .community__content-header-wrapper {
+ margin-top: 0;
+ padding-left: 0;
+ }
+
+ .community__game-icon {
+ display: none;
+ }
+ }
+
@media (width <= 48rem) {
.community__meta {
- gap: var(--gap-xxs);
+ gap: var(--gap-2xs);
}
.community__item {
diff --git a/apps/cyberstorm-remix/app/c/community.tsx b/apps/cyberstorm-remix/app/c/community.tsx
index 2a8041fce..c89b611a4 100644
--- a/apps/cyberstorm-remix/app/c/community.tsx
+++ b/apps/cyberstorm-remix/app/c/community.tsx
@@ -151,88 +151,90 @@ export default function Community() {
-
-
-
}>
-
- {(resolvedValue) =>
- resolvedValue.community_icon_url ? (
-
- ) : null
- }
-
-
+
+
+
+
}>
+
+ {(resolvedValue) =>
+ resolvedValue.community_icon_url ? (
+
+ ) : null
+ }
+
+
+
-
-
-
-
}>
-
- {(resolvedValue) => (
-
- {resolvedValue.name}
-
- )}
-
-
-
-
-
}>
-
- {(resolvedValue) =>
- resolvedValue.wiki_url ? (
-
-
-
-
- Modding Wiki
-
-
-
-
- ) : null
- }
-
-
-
}>
-
- {(resolvedValue) =>
- resolvedValue.discord_url ? (
-
+
+
}>
+
+ {(resolvedValue) => (
+
-
-
-
- Modding Discord
-
-
-
-
- ) : null
- }
-
-
+ {resolvedValue.name}
+
+ )}
+
+
+
+
+
}>
+
+ {(resolvedValue) =>
+ resolvedValue.wiki_url ? (
+
+
+
+
+ Modding Wiki
+
+
+
+
+ ) : null
+ }
+
+
+
}>
+
+ {(resolvedValue) =>
+ resolvedValue.discord_url ? (
+
+
+
+
+ Modding Discord
+
+
+
+
+ ) : null
+ }
+
+
+
diff --git a/apps/cyberstorm-remix/app/commonComponents/Connection/Connection.css b/apps/cyberstorm-remix/app/commonComponents/Connection/Connection.css
index 982599319..2496be7ba 100644
--- a/apps/cyberstorm-remix/app/commonComponents/Connection/Connection.css
+++ b/apps/cyberstorm-remix/app/commonComponents/Connection/Connection.css
@@ -1,7 +1,7 @@
@layer nimbus-components {
.connection {
display: flex;
- gap: var(--gap-xxxl);
+ gap: var(--gap-3xl);
align-items: center;
align-self: stretch;
padding: var(--space-16) var(--space-32);
@@ -48,7 +48,7 @@
.connection__actions {
display: flex;
- gap: var(--gap-xxxl);
+ gap: var(--gap-3xl);
align-items: center;
justify-content: flex-end;
}
@@ -56,7 +56,7 @@
.connection__description {
display: flex;
flex-direction: column;
- gap: var(--gap-xxxs);
+ gap: var(--gap-3xs);
align-items: flex-end;
justify-content: center;
}
diff --git a/apps/cyberstorm-remix/app/commonComponents/Footer/Footer.css b/apps/cyberstorm-remix/app/commonComponents/Footer/Footer.css
index dc80f1e21..718fd0109 100644
--- a/apps/cyberstorm-remix/app/commonComponents/Footer/Footer.css
+++ b/apps/cyberstorm-remix/app/commonComponents/Footer/Footer.css
@@ -21,7 +21,7 @@
.footer__links-wrapper {
display: flex;
flex-wrap: wrap;
- gap: var(--gap-xxxl);
+ gap: var(--gap-3xl);
justify-content: space-between;
margin-left: 3.5rem;
}
@@ -47,7 +47,7 @@
.footer__icon-links {
display: flex;
flex-shrink: 0;
- gap: var(--gap-xxxl);
+ gap: var(--gap-3xl);
justify-content: center;
}
@@ -181,7 +181,7 @@
.footnote__inner {
display: flex;
flex-grow: 1;
- gap: var(--gap-xxl);
+ gap: var(--gap-2xl);
max-width: calc(var(--footer-half-width) * 2);
margin-right: 3.5rem;
margin-left: 3.5rem;
@@ -191,7 +191,7 @@
display: flex;
flex: 1 0 0;
flex-wrap: wrap;
- gap: var(--gap-xxxl);
+ gap: var(--gap-3xl);
align-items: flex-start;
> a {
@@ -240,7 +240,7 @@
display: flex;
flex-flow: column wrap;
flex-shrink: 0;
- gap: var(--gap-xxxl);
+ gap: var(--gap-3xl);
justify-content: space-between;
max-width: unset;
margin-left: unset;
diff --git a/apps/cyberstorm-remix/app/commonComponents/ListingDependency/ListingDependency.css b/apps/cyberstorm-remix/app/commonComponents/ListingDependency/ListingDependency.css
index b8e2e5b3f..787069f08 100644
--- a/apps/cyberstorm-remix/app/commonComponents/ListingDependency/ListingDependency.css
+++ b/apps/cyberstorm-remix/app/commonComponents/ListingDependency/ListingDependency.css
@@ -29,7 +29,7 @@
.listing-dependency__title {
display: flex;
- gap: var(--gap-xxs);
+ gap: var(--gap-2xs);
align-items: center;
align-self: stretch;
font-weight: var(--font-weight-regular);
diff --git a/apps/cyberstorm-remix/app/commonComponents/PackageSearch/PackageSearch.css b/apps/cyberstorm-remix/app/commonComponents/PackageSearch/PackageSearch.css
index 55c096871..31218c261 100644
--- a/apps/cyberstorm-remix/app/commonComponents/PackageSearch/PackageSearch.css
+++ b/apps/cyberstorm-remix/app/commonComponents/PackageSearch/PackageSearch.css
@@ -46,7 +46,7 @@
.package-search__pagination {
display: flex;
- gap: var(--gap-xxs);
+ gap: var(--gap-2xs);
align-items: center;
align-self: stretch;
justify-content: center;
@@ -108,7 +108,7 @@
.package-search__results {
display: flex;
flex: 1;
- gap: var(--gap-xxs);
+ gap: var(--gap-2xs);
align-items: center;
justify-content: flex-end;
@@ -161,6 +161,7 @@
@media (width <= 475px) {
.package-search {
flex-direction: column;
+ gap: 0.25rem;
}
.package-search__sidebar {
@@ -169,8 +170,13 @@
width: 100%;
}
+ .package-search__filters {
+ width: unset;
+ }
+
.package-search__tools {
flex-direction: column;
+ gap: 0.5rem;
align-items: stretch;
}
@@ -188,6 +194,7 @@
}
.package-search__content {
+ gap: 0.5rem;
align-self: stretch;
}
}
diff --git a/apps/cyberstorm-remix/app/communities/Communities.css b/apps/cyberstorm-remix/app/communities/Communities.css
index 13224fec1..ad7868656 100644
--- a/apps/cyberstorm-remix/app/communities/Communities.css
+++ b/apps/cyberstorm-remix/app/communities/Communities.css
@@ -12,7 +12,7 @@
.communities__content {
display: flex;
flex-direction: column;
- gap: var(--gap-xxxl);
+ gap: var(--gap-3xl);
align-items: flex-start;
align-self: stretch;
}
@@ -38,7 +38,7 @@
display: grid;
flex-flow: row wrap;
grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
- gap: var(--gap-xxxxxxxl) var(--gap-xl);
+ gap: var(--gap-7xl) var(--gap-xl);
width: 100%;
}
@@ -77,6 +77,12 @@
}
}
+ @media (width <= 41rem) {
+ .communities__communities-list {
+ gap: var(--gap-3xl) var(--gap-xl);
+ }
+ }
+
@media (width <= 39rem) {
.communities__tools {
flex-direction: column;
diff --git a/apps/cyberstorm-remix/app/communities/communities.tsx b/apps/cyberstorm-remix/app/communities/communities.tsx
index 4707d2b05..709e5f561 100644
--- a/apps/cyberstorm-remix/app/communities/communities.tsx
+++ b/apps/cyberstorm-remix/app/communities/communities.tsx
@@ -175,6 +175,7 @@ export default function CommunitiesPage() {
leftIcon={}
type="search"
rootClasses="communities__search"
+ csSize="small"
/>
) : null}
- {csSize === "default" ? (
+ {csSize === "textarea" ? (
{children}
) : (
{children}