Skip to content

Commit

Permalink
Tweaks and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen committed Aug 16, 2023
1 parent 00fe91c commit 614eb05
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/components/dashboard/dashboard.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ function FormsList({ forms, isValidating, mutate, t }: FormsListProps) {
<DataTable
rows={tableRows}
headers={tableHeaders}
size={isTablet ? "lg" : "xs"}
size={isTablet ? "lg" : "sm"}
useZebraStyles
>
{({ rows, headers, getTableProps, getHeaderProps, getRowProps }) => (
Expand Down
16 changes: 13 additions & 3 deletions src/components/dashboard/dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,19 @@
}
}

.table tr:last-of-type {

.table {
tr {
&:last-of-type {
td {
border-bottom: none;
}
}
}

td {
border-bottom: none;
padding-top: 0;
padding-bottom: 0;
}
}

Expand Down Expand Up @@ -116,7 +126,7 @@

.tileContainer {
background-color: colors.$white-0;
border-top: 1px solid colors.$gray-20;
border-top: 1px solid colors.$gray-70;
padding: 5rem 0;
}

Expand Down
8 changes: 4 additions & 4 deletions src/components/empty-state/empty-state.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@

.content {
@include type.type-style("heading-compact-01");
color: colors.$gray-20;
color: colors.$gray-70;
margin-top: spacing.$spacing-05;
margin-bottom: spacing.$spacing-03;
}

.desktopHeading {
h4 {
@include type.type-style('heading-compact-02');
color: colors.$gray-20;
color: colors.$gray-70;
}
}

.tabletHeading {
h4 {
@include type.type-style('heading-03');
color: colors.$gray-20;
color: colors.$gray-70;
}
}

Expand Down Expand Up @@ -51,5 +51,5 @@

.tile {
text-align: center;
border: 1px solid colors.$gray-20;
border: 1px solid colors.$gray-70;
}
6 changes: 3 additions & 3 deletions src/components/error-state/error-state.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
.errorCopy {
margin-bottom: spacing.$spacing-03;
@include type.type-style("body-01");
color: colors.$gray-20;
color: colors.$gray-70;
}

.desktopHeading {
h4 {
@include type.type-style('heading-compact-02');
color: colors.$gray-20;
color: colors.$gray-70;
}
}

.tabletHeading {
h4 {
@include type.type-style('heading-03');
color: colors.$gray-20;
color: colors.$gray-70;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/interactive-builder/draggable-question.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}

.normal:hover {
background-color: colors.$gray-20;
background-color: colors.$gray-70;
}

.isDragged {
Expand Down
2 changes: 1 addition & 1 deletion src/components/interactive-builder/question-modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

.emptyResults {
@include type.type-style("body-compact-01");
color: colors.$gray-20;
color: colors.$gray-70;
min-height: 1rem;
}

Expand Down
4 changes: 2 additions & 2 deletions src/components/pagination/pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@include type.type-style('body-compact-01');
display: flex;
justify-content: space-between;
color: colors.$gray-20;
color: colors.$gray-70;
background-color: colors.$white-0;
padding-left: 1rem;
align-items: center;
Expand Down Expand Up @@ -49,7 +49,7 @@
.pagination {
@include type.type-style('body-compact-01');
background-color: colors.$white-0;
color: colors.$gray-20;
color: colors.$gray-70;
display: flex;
}

Expand Down

0 comments on commit 614eb05

Please sign in to comment.