fix sideload display and other misc style adjustments

This commit is contained in:
Lucy Cifferello
2024-04-05 14:14:23 -04:00
parent 0b93988450
commit cd933ce6e4
8 changed files with 28 additions and 11 deletions

View File

@@ -27,6 +27,7 @@ export class SearchComponent {
onModelChange(query: string) { onModelChange(query: string) {
this.query = query this.query = query
this.queryChange.emit(query) this.queryChange.emit(query)
this.router.navigate(['../']) // @TODO fix in brochure
// this.router.navigate(['../'])
} }
} }

View File

@@ -64,7 +64,12 @@ import { TuiAvatarModule, TuiLineClampModule } from '@taiga-ui/kit'
.title { .title {
display: flex; display: flex;
gap: 0.25rem; gap: 0;
flex-wrap: wrap;
@media (min-width: 640px) {
gap: 0.25rem;
}
p { p {
margin: 0; margin: 0;

View File

@@ -87,9 +87,10 @@ import { MarketplacePkg } from '../../../types'
color: rgb(250 250 250); color: rgb(250 250 250);
mix-blend-mode: plus-lighter; mix-blend-mode: plus-lighter;
z-index: 1; z-index: 1;
max-width: 17rem;
@media (min-width: 768px) { @media (min-width: 768px) {
max-width: 22rem; min-width: 100%;
} }
h2 { h2 {
@@ -128,7 +129,6 @@ import { MarketplacePkg } from '../../../types'
left: 0px; left: 0px;
z-index: -50; z-index: -50;
border-radius: 1.5rem; border-radius: 1.5rem;
background-color: rgb(39 39 42);
img { img {
position: absolute; position: absolute;

View File

@@ -8,6 +8,6 @@
&:hover { &:hover {
text-indent: var(--indent, 0); text-indent: var(--indent, 0);
text-overflow: clip; text-overflow: clip;
cursor: all-scroll; cursor: default;
} }
} }

View File

@@ -32,6 +32,7 @@ import { MarketplaceSidebarService } from '../services/sidebar.service'
" "
[pkgId]="pkg.manifest.id" [pkgId]="pkg.manifest.id"
class="preview-wrapper" class="preview-wrapper"
(tuiActiveZoneChange)="toggle($event)"
> >
<button <button
tuiAutoFocus tuiAutoFocus

View File

@@ -114,13 +114,14 @@ import { Router } from '@angular/router'
} }
.outer-container { .outer-container {
display: grid; display: flex;
flex-direction: column;
padding: 1.75rem; padding: 1.75rem;
min-width: 100%; min-width: 100%;
margin-top: 5rem; margin-top: 5rem;
@media (min-width: 768px) { @media (min-width: 768px) {
min-width: 30rem; // min-width: 30rem;
margin-top: 0; margin-top: 0;
} }
} }

View File

@@ -37,7 +37,7 @@ import { getManifest } from 'src/app/util/get-package-data'
<a <a
*ngIf="button !== null && button !== 'Install'" *ngIf="button !== null && button !== 'Install'"
tuiButton tuiButton
appearance="secondary" appearance="tertiary-solid"
[routerLink]="'/portal/service/' + package.manifest.id" [routerLink]="'/portal/service/' + package.manifest.id"
> >
View installed View installed
@@ -59,11 +59,11 @@ import { getManifest } from 'src/app/util/get-package-data'
.outer-container { .outer-container {
display: grid; display: grid;
justify-content: center; justify-content: center;
gap: 2rem; width: 100%;
padding: 2.5rem 1rem 1rem 1rem;
margin-bottom: 4rem;
@media (min-width: 1024px) { @media (min-width: 1024px) {
max-width: 80%;
margin: auto;
padding: 2.5rem 4rem 2rem 4rem; padding: 2.5rem 4rem 2rem 4rem;
} }
} }
@@ -71,6 +71,7 @@ import { getManifest } from 'src/app/util/get-package-data'
.inner-container { .inner-container {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
margin: -0.5rem 0 1.5rem -1px;
} }
`, `,
], ],

View File

@@ -77,6 +77,14 @@ import { SideloadPackageComponent } from './package.component'
max-width: 40rem; max-width: 40rem;
margin: 0 auto; margin: 0 auto;
} }
button {
margin-bottom: 2rem;
@media (min-width: 768px) {
margin-bottom: 4rem;
}
}
`, `,
], ],
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,