Skip to content

Commit

Permalink
[fix] Fix checkbox button padding issue on the Dashboard page (#2257)
Browse files Browse the repository at this point in the history
  • Loading branch information
arsengit authored Oct 7, 2022
1 parent d3be223 commit bf483ab
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 92 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,112 +21,114 @@
margin-top: 1.25rem;
padding: 0 1.5rem;
}
.DataList {
.CompareSelectedRunsPopover__trigger {
margin-right: 0 !important;
.Icon__container {
margin-right: $space-xxxs;
}
.Text {
font-size: $text-sm;
.ExploreSection__content {
.DataList {
.CompareSelectedRunsPopover__trigger {
margin-right: 0 !important;
.Icon__container {
margin-right: $space-xxxs;
}
.Text {
font-size: $text-sm;
}
}
}

.IllustrationBlock {
&__container {
padding-bottom: 0;
}
&__large__img {
height: 100%;
img {
.IllustrationBlock {
&__container {
padding-bottom: 0;
}
&__large__img {
height: 100%;
img {
height: 100%;
}
}
}
}
.defaultSelectIcon {
border: 1.5px solid $pico-50;
border-radius: $border-radius-xs;
width: 12px;
height: 12px;
}
&__toolbarItems {
height: unset;
margin-left: $space-xs;
}
&__textsTable {
border: none;
padding-left: $space-xs;
}
.SearchBar {
width: auto;
min-width: 250px;
padding: 0 $space-sm;
margin-bottom: $space-xxxs;
.SearchInput {
margin-right: 0;
.defaultSelectIcon {
border: 1.5px solid $pico-50;
border-radius: $border-radius-xs;
width: 12px;
height: 12px;
}
.MuiOutlinedInput-root {
background-color: $white;
&__toolbarItems {
height: unset;
margin-left: $space-xs;
}
label {
font-size: $text-sm;
&__textsTable {
border: none;
padding-left: $space-xs;
}
}
.selectedSelectIcon {
border-radius: $border-radius-xs;
width: 12px;
height: 12px;
background: $primary-color;
color: $white;
display: flex;
justify-content: center;
align-items: center;
}
.partiallySelectedSelectIcon {
border-radius: $border-radius-xs;
width: 12px;
height: 12px;
display: flex;
justify-content: center;
align-items: center;
}
.MuiCheckbox-root {
padding: $space-xxxs !important;
}
.BaseTable {
background-color: transparent;
&__table {
background-color: transparent;
}
&__header {
background: transparent;
&-row {
background-color: transparent;
.SearchBar {
width: auto;
min-width: 250px;
padding: 0 $space-sm;
margin-bottom: $space-xxxs;
.SearchInput {
margin-right: 0;
}
&-cell {
border: none;
background-color: transparent;
padding: 0;
&--text {
font-size: 12px;
}
.MuiOutlinedInput-root {
background-color: $white;
}
label {
font-size: $text-sm;
}
}
&__row {
.selectedSelectIcon {
border-radius: $border-radius-xs;
width: 12px;
height: 12px;
background: $primary-color;
color: $white;
display: flex;
justify-content: center;
align-items: center;
}
.partiallySelectedSelectIcon {
border-radius: $border-radius-xs;
width: 12px;
height: 12px;
display: flex;
justify-content: center;
align-items: center;
}
.MuiCheckbox-root {
padding: $space-xxxs !important;
}
.BaseTable {
background-color: transparent;
box-shadow: unset;
&-cell {
&__table {
background-color: transparent;
border: none;
padding: 0;
&:first-child {
}
&__header {
background: transparent;
&-row {
background-color: transparent;
}
&-cell {
border: none;
background-color: transparent;
padding: 0;
&--text {
font-size: 12px;
}
}
p {
max-width: 100%;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
&__row {
background-color: transparent;
box-shadow: unset;
&-cell {
background-color: transparent;
border: none;
padding: 0;
&:first-child {
padding: 0;
}
p {
max-width: 100%;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ function ExploreSection(): React.FunctionComponentElement<React.ReactNode> {
<Spinner />
</div>
)}
<div className={loading ? 'ExploreSection__loading' : ''}>
<div
className={
loading ? 'ExploreSection__loading' : 'ExploreSection__content'
}
>
<ExperimentsCard />
<TagsCard />
<DashboardBookmarks />
Expand Down

0 comments on commit bf483ab

Please sign in to comment.