Skip to content

Commit

Permalink
feat ✨: change white-space & toast zindex
Browse files Browse the repository at this point in the history
  • Loading branch information
BQXBQX committed Oct 29, 2024
1 parent e49fc3e commit 4323406
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
1 change: 1 addition & 0 deletions packages/ui-react/lib/Badge/Badge.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,6 @@

span {
display: inline;
white-space: nowrap;
}
}
23 changes: 16 additions & 7 deletions packages/ui-react/lib/Table/Table.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,25 @@
.table {
color: $black-color;
font-size: 14px;
border-spacing: 0px !important;
border-spacing: 0;
width: 100%;
border-collapse: separate;

.caption {
font-size: 1.2rem;
text-align: start;
padding-bottom: 10px;
}

.thead {
.tr {
.th {
text-align: start;
background-color: $title-bg-color;
color: $gray-color;
padding: 10px 30px;
padding: 12px 20px;
font-weight: 600;

&:first-child {
border-radius: 5px 0 0 5px;
}
Expand All @@ -24,18 +31,20 @@
}
}
}

.tbody {
.tr {
transition: background-color 300ms $cubic-bezier;

&:hover {
transition: all 300ms $cubic-bezier;
background-color: $pale-white-color;
}

.td {
border-style: solid;
border-width: 0px 0px 1px 0px;
border-color: $border-white-color;
padding: 12px 30px;
border-bottom: 1px solid $border-white-color;
padding: 12px 20px;
box-sizing: border-box;
vertical-align: middle;
}
}
}
Expand Down
1 change: 1 addition & 0 deletions packages/ui-react/lib/Toast/Toast.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ $danger-back-color: rgba(252, 239, 236, 1);
display: flex;
flex-direction: column;
gap: 5px;
z-index: 9999;

&.small {
width: 300px;
Expand Down

1 comment on commit 4323406

@vercel
Copy link

@vercel vercel bot commented on 4323406 Oct 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sast-ui – ./

sast-ui-git-main-sast.vercel.app
sast-ui-sast.vercel.app

Please sign in to comment.