Skip to content

Commit

Permalink
feat(table): adjust basic table stylings
Browse files Browse the repository at this point in the history
  • Loading branch information
kiaking committed Dec 23, 2022
1 parent 8606bb6 commit 8d2070d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/components/STableCellDay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ defineProps<{
.value {
line-height: 24px;
font-family: var(--font-family-number);
font-size: 12px;
font-weight: 500;
font-size: var(--table-cell-font-size);
font-weight: var(--table-cell-font-weight);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
Expand Down
6 changes: 4 additions & 2 deletions lib/components/STableCellPill.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ const _color = computed(() => {
<style scoped lang="postcss">
.STableCellPill {
padding: 7px 16px 9px;
display: flex;
align-items: center;
padding: 8px 16px;
min-height: 40px;
}
Expand Down Expand Up @@ -79,7 +81,7 @@ const _color = computed(() => {
.STableCellPill.mute & {
border-color: var(--c-divider);
color: var(--c-text-2);
background-color: var(--c-bg-elv);
background-color: var(--c-bg-lift-2);
}
}
</style>
4 changes: 2 additions & 2 deletions lib/components/STableCellText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ const _iconColor = computed(() => {
.text {
line-height: 24px;
font-size: 12px;
font-weight: 500;
font-size: var(--table-cell-font-size);
font-weight: var(--table-cell-font-weight);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
Expand Down

0 comments on commit 8d2070d

Please sign in to comment.