From a9fc8fb4dcf5566dc8171d4cd57738e1b6484cd0 Mon Sep 17 00:00:00 2001 From: Hamza Date: Thu, 11 Aug 2022 10:56:28 +0900 Subject: [PATCH] code clean up --- src/styles/table.pcss | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/styles/table.pcss b/src/styles/table.pcss index a0b142f..2bdf249 100644 --- a/src/styles/table.pcss +++ b/src/styles/table.pcss @@ -6,7 +6,9 @@ --cell-size: 34px; --toolbox-icon-size: 18px; --toolbox-padding: 6px; - --toolbox-aiming-field-size: calc(var(--toolbox-icon-size) + 2 * var(--toolbox-padding)); + --toolbox-aiming-field-size: calc( + var(--toolbox-icon-size) + 2 * var(--toolbox-padding) + ); border-left: 0px; position: relative; @@ -84,12 +86,13 @@ } .tc-add { - &-column, &-row { + &-column, + &-row { display: flex; color: var(--color-text-secondary); } - @media print { + @media print { display: none; } } @@ -99,32 +102,33 @@ justify-content: center; border-top: 1px solid var(--color-border); - @media print { + @media print { display: none; } } -.tc-add-row {0 +.tc-add-row { height: var(--cell-size); align-items: center; padding-left: 12px; position: relative; &::before { - content: ''; + content: ""; position: absolute; right: calc(-1 * var(--cell-size)); width: var(--cell-size); height: 100%; } - @media print { + @media print { display: none; } } .tc-add { - &-column, &-row { + &-column, + &-row { transition: 0s; cursor: pointer; will-change: background-color; @@ -152,7 +156,7 @@ border-bottom: 1px solid var(--color-border); &::after { - content: ''; + content: ""; pointer-events: none; position: absolute; width: var(--cell-size);