diff --git a/frontend/src/app/components/eight-blocks/eight-blocks.component.scss b/frontend/src/app/components/eight-blocks/eight-blocks.component.scss index 52faf1651..6d2c9931c 100644 --- a/frontend/src/app/components/eight-blocks/eight-blocks.component.scss +++ b/frontend/src/app/components/eight-blocks/eight-blocks.component.scss @@ -5,9 +5,9 @@ display: flex; flex-direction: row; flex-wrap: nowrap; - justify-content: start; - align-items: start; - align-content: start; + justify-content: flex-start; + align-items: flex-start; + align-content: flex-start; &.wrap { flex-wrap: wrap; @@ -31,7 +31,6 @@ flex-direction: column; align-items: center; justify-content: center; - font-family:'Inter'; font-weight: 700; font-size: calc(var(--block-width) * 0.03); text-shadow: 0 0 calc(var(--block-width) * 0.05) black; diff --git a/frontend/src/app/components/eight-blocks/eight-blocks.component.ts b/frontend/src/app/components/eight-blocks/eight-blocks.component.ts index 63be271d3..96ab4dee9 100644 --- a/frontend/src/app/components/eight-blocks/eight-blocks.component.ts +++ b/frontend/src/app/components/eight-blocks/eight-blocks.component.ts @@ -105,10 +105,10 @@ export class EightBlocksComponent implements OnInit, OnDestroy { this.queryParamsSubscription = this.route.queryParams.subscribe((params) => { this.numBlocks = Number.isInteger(Number(params.numBlocks)) ? Number(params.numBlocks) : 8; this.blockIndices = [...Array(this.numBlocks).keys()]; - this.autofit = params.autofit === 'true'; - this.padding = Number.isInteger(Number(params.padding)) ? Number(params.padding) : 0; - this.blockWidth = Number.isInteger(Number(params.blockWidth)) ? Number(params.blockWidth) : 1080; - this.wrapBlocks = params.wrap === 'true'; + this.autofit = params.autofit !== 'false'; + this.padding = Number.isInteger(Number(params.padding)) ? Number(params.padding) : 10; + this.blockWidth = Number.isInteger(Number(params.blockWidth)) ? Number(params.blockWidth) : 540; + this.wrapBlocks = params.wrap !== 'false'; this.stagger = Number.isInteger(Number(params.stagger)) ? Number(params.stagger) : 0; this.animationDuration = Number.isInteger(Number(params.animationDuration)) ? Number(params.animationDuration) : 2000; this.animationOffset = this.padding * 2; diff --git a/frontend/src/resources/Inter-Bold.ttf b/frontend/src/resources/Inter-Bold.ttf deleted file mode 100644 index fe23eeb9c..000000000 Binary files a/frontend/src/resources/Inter-Bold.ttf and /dev/null differ diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss index a3600cb1a..c03d79af5 100644 --- a/frontend/src/styles.scss +++ b/frontend/src/styles.scss @@ -1171,10 +1171,3 @@ app-global-footer { line-height: 0.5; border-radius: 0.2rem; } - -@font-face { - font-family: "Inter"; - src: url("/resources/Inter-Bold.ttf"); - font-weight: 700; - font-style: normal; -}