From e83bcf13f1f6c26f954a91e65d72702f6acb7d90 Mon Sep 17 00:00:00 2001 From: Matt Gallo Date: Fri, 20 Sep 2024 12:19:59 -0400 Subject: [PATCH] chore: cleanup styles --- web-components/customize-columns/src/basic.ts | 25 +++++++------------ 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/web-components/customize-columns/src/basic.ts b/web-components/customize-columns/src/basic.ts index bcb74ac..7e3b833 100644 --- a/web-components/customize-columns/src/basic.ts +++ b/web-components/customize-columns/src/basic.ts @@ -205,25 +205,18 @@ export class MyBasicTable extends LitElement { display: flex; flex-direction: column; align-items: center; - border-top: 1px solid var(--cds-border-subtle); } .item { - display: flex; - align-items: center; - justify-content: space-between; - box-sizing: border-box; - padding: 10px 20px; - border: none; - gap: 10px; - background-color: #fff; - outline: none; - min-height: 48px; - width: 100%; - white-space: nowrap; - transition: transform 0.3s ease, box-shadow 0.3s ease; - cursor: hand; - border-bottom: 1px solid var(--cds-border-subtle); + display: flex; + align-items: center; + padding: 0 1rem; + border: none; + min-height: 3rem; + width: 100%; + transition: transform 0.3s ease, box-shadow 0.3s ease; + cursor: hand; + border-bottom: 1px solid var(--cds-border-subtle); } .dragging-item { border: 2px solid blue;