From 5235b3ea52b7aa5a27c2b00a49712a3ce0e22378 Mon Sep 17 00:00:00 2001 From: Valentin Degenne Date: Wed, 11 Oct 2023 17:14:04 +0200 Subject: [PATCH 1/2] fix(catalog): center items in blockquotes --- catalog/site/css/md-layout.css | 1 + 1 file changed, 1 insertion(+) diff --git a/catalog/site/css/md-layout.css b/catalog/site/css/md-layout.css index 9b2d05da5e..d3bfc150b7 100644 --- a/catalog/site/css/md-layout.css +++ b/catalog/site/css/md-layout.css @@ -207,6 +207,7 @@ main > blockquote:not(catalog-component-header, details) { border-radius: var(--catalog-shape-l); background-color: var(--md-sys-color-secondary-container); display: flex; + align-items: center; gap: var(--catalog-spacing-s); } From fbc1fa626a92299c627004efa9d41151b44febb0 Mon Sep 17 00:00:00 2001 From: Valentin Degenne Date: Wed, 11 Oct 2023 17:22:50 +0200 Subject: [PATCH 2/2] fix(catalog): align one liners to center --- catalog/site/css/md-layout.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/catalog/site/css/md-layout.css b/catalog/site/css/md-layout.css index d3bfc150b7..1b307290f4 100644 --- a/catalog/site/css/md-layout.css +++ b/catalog/site/css/md-layout.css @@ -207,7 +207,6 @@ main > blockquote:not(catalog-component-header, details) { border-radius: var(--catalog-shape-l); background-color: var(--md-sys-color-secondary-container); display: flex; - align-items: center; gap: var(--catalog-spacing-s); } @@ -216,7 +215,7 @@ main > blockquote:not(catalog-component-header, details) .content { } blockquote .content > *:first-child { - margin-block-start: 0; + margin-block-start: 4px; } blockquote .content > *:last-child {