From 016eb1519dd11f28caead482e432787524b4362f Mon Sep 17 00:00:00 2001 From: splincode Date: Wed, 25 Sep 2024 17:55:44 +0300 Subject: [PATCH] chore(demo): move version manager to header --- projects/demo/src/modules/app/app.style.less | 5 ---- .../demo/src/modules/app/app.template.html | 10 ++------ .../version-manager.component.ts | 17 ++++---------- .../version-manager.template.html | 23 +++++++++++++------ .../app/version-manager/versions.constants.ts | 2 +- 5 files changed, 24 insertions(+), 33 deletions(-) diff --git a/projects/demo/src/modules/app/app.style.less b/projects/demo/src/modules/app/app.style.less index 0cc177ea8fc38..d6dbe4ad1e388 100644 --- a/projects/demo/src/modules/app/app.style.less +++ b/projects/demo/src/modules/app/app.style.less @@ -32,11 +32,6 @@ app { } } -.app-selects { - padding: 0.25rem 0.125rem 0.5rem 0.75rem; - box-shadow: 0 -1px var(--tui-border-normal); -} - @media @tui-mobile { .app-link { display: none; diff --git a/projects/demo/src/modules/app/app.template.html b/projects/demo/src/modules/app/app.template.html index 4654fb05c5e5d..d2c05f8531d3c 100644 --- a/projects/demo/src/modules/app/app.template.html +++ b/projects/demo/src/modules/app/app.template.html @@ -12,6 +12,8 @@ class="app-christmas" /> + + + + + - + diff --git a/projects/demo/src/modules/app/version-manager/versions.constants.ts b/projects/demo/src/modules/app/version-manager/versions.constants.ts index 1384650f5eb4e..a96fdf98de233 100644 --- a/projects/demo/src/modules/app/version-manager/versions.constants.ts +++ b/projects/demo/src/modules/app/version-manager/versions.constants.ts @@ -15,7 +15,7 @@ export const TUI_VERSIONS_META: readonly TuiVersionMeta[] = [ title: `v${TUI_CURRENT_MAJOR_VERSION}.next`, }, { - label: `latest (v${TUI_VERSION})`, + label: `v${TUI_VERSION}`, baseHref: '/', title: `v${TUI_CURRENT_MAJOR_VERSION}`, },