From 6a5682ac5f5c831c533eb8687b053de7194894d7 Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Mon, 6 Nov 2023 16:35:19 +0800 Subject: [PATCH] style(console): center align `CardTitle` content for application placeholder page (#4828) --- packages/console/src/ds-components/CardTitle/index.module.scss | 2 ++ packages/console/src/pages/Applications/index.module.scss | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/console/src/ds-components/CardTitle/index.module.scss b/packages/console/src/ds-components/CardTitle/index.module.scss index 7b72f0777..36eec9653 100644 --- a/packages/console/src/ds-components/CardTitle/index.module.scss +++ b/packages/console/src/ds-components/CardTitle/index.module.scss @@ -1,6 +1,8 @@ @use '@/scss/underscore' as _; .container { + display: flex; + flex-direction: column; overflow: hidden; .title { diff --git a/packages/console/src/pages/Applications/index.module.scss b/packages/console/src/pages/Applications/index.module.scss index e52fc755a..6454413f0 100644 --- a/packages/console/src/pages/Applications/index.module.scss +++ b/packages/console/src/pages/Applications/index.module.scss @@ -17,7 +17,7 @@ margin: _.unit(4) 0; .title { - text-align: center; + align-items: center; margin-bottom: _.unit(6); }