From 718c57783da7883d1ae2f3f10214e6e1e696c045 Mon Sep 17 00:00:00 2001 From: James Koster Date: Mon, 21 Oct 2024 10:09:35 +0100 Subject: [PATCH 1/2] Data views: Fix alignment of action items in list layout --- packages/dataviews/src/dataviews-layouts/list/style.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/dataviews/src/dataviews-layouts/list/style.scss b/packages/dataviews/src/dataviews-layouts/list/style.scss index 9a3128c14b76a..8a423ac952eac 100644 --- a/packages/dataviews/src/dataviews-layouts/list/style.scss +++ b/packages/dataviews/src/dataviews-layouts/list/style.scss @@ -34,6 +34,7 @@ ul.dataviews-view-list { flex-basis: min-content; overflow: unset; margin-inline: $grid-unit-10 0; + padding-right: $grid-unit-05; .components-button { opacity: 1; From 3a2986e0143a5a388c85ae733b57a967bea5f4b6 Mon Sep 17 00:00:00 2001 From: James Koster Date: Tue, 22 Oct 2024 11:03:09 +0100 Subject: [PATCH 2/2] Remove unused margin, use padding-inline-end --- packages/dataviews/src/dataviews-layouts/list/style.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/dataviews/src/dataviews-layouts/list/style.scss b/packages/dataviews/src/dataviews-layouts/list/style.scss index 8a423ac952eac..429f2397c9601 100644 --- a/packages/dataviews/src/dataviews-layouts/list/style.scss +++ b/packages/dataviews/src/dataviews-layouts/list/style.scss @@ -33,8 +33,7 @@ ul.dataviews-view-list { .dataviews-view-list__item-actions { flex-basis: min-content; overflow: unset; - margin-inline: $grid-unit-10 0; - padding-right: $grid-unit-05; + padding-inline-end: $grid-unit-05; .components-button { opacity: 1;