Skip to content

Commit

Permalink
code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
untilhamza committed Aug 11, 2022
1 parent 7a0433f commit a9fc8fb
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions src/styles/table.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -84,12 +86,13 @@
}

.tc-add {
&-column, &-row {
&-column,
&-row {
display: flex;
color: var(--color-text-secondary);
}

@media print {
@media print {
display: none;
}
}
Expand All @@ -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;
Expand Down Expand Up @@ -152,7 +156,7 @@
border-bottom: 1px solid var(--color-border);

&::after {
content: '';
content: "";
pointer-events: none;
position: absolute;
width: var(--cell-size);
Expand Down

0 comments on commit a9fc8fb

Please sign in to comment.