Skip to content

Commit

Permalink
modifications needed for mesa table updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dmfalke committed Dec 9, 2024
1 parent f7d40a9 commit 4465cd2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,15 +273,12 @@
top: 0;
right: 1em;
}
.filter-param .membership-filter .HeadingRow:first-child {
.filter-param .membership-filter .HeadingRow:first-child > th {
border-top: 1px solid #ccc;
}
.filter-param .membership-filter .HeadingRow:last-child {
.filter-param .membership-filter .HeadingRow:last-child > th {
border-bottom: 1px solid #ccc;
}
.filter-param .membership-filter .DataTable table {
border-collapse: collapse;
}
.filter-param .membership-filter .DataRow,
.filter-param .membership-filter .HeadingRow {
background: white;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
width: 300px;
}

.wdk-RecordTable > .Mesa.MesaComponent > .MesaComponent > .DataTable > table {
width: auto;
}

.MesaComponent > .DataTable {
.wdk-RecordTable > .Mesa.MesaComponent > .MesaComponent > .DataTable {
position: relative;
max-width: 100%;
overflow-x: auto;
}

.wdk-RecordTable > .Mesa.MesaComponent > .MesaComponent > .DataTable > table {
width: auto;
}

.wdk-RecordTable__Orthologs
> .Mesa.MesaComponent
> .Toolbar
Expand Down
38 changes: 0 additions & 38 deletions packages/libs/web-common/src/styles/client.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
@import './AllSites.scss';
@import './question-wizard.css';

$expand-child-row-toggle-width: 3em;

dialog {
border: none;
border-radius: 0.25em;
Expand Down Expand Up @@ -111,42 +109,6 @@ h4 {
font-size: 1.4em;
}

.wdk-DataTableCellExpand > svg {
fill: #777;
}

tr._childIsExpanded
> .wdk-DataTableCell__childRowToggle
> .wdk-DataTableCellExpand
> svg {
fill: black;
}

.wdk-DataTableCellExpand:hover > svg {
fill: black;
}

.wdk-DataTableCellExpand {
width: $expand-child-row-toggle-width;
padding: 0;
border: none;
line-height: 2;
background: transparent !important;
}

.wdk-DataTableCell.wdk-DataTableCell__childRowToggle {
width: $expand-child-row-toggle-width;
}

th > .wdk-DataTableCellExpand {
display: flex;
justify-content: center;
}

td.wdk-DataTable.wdk-DataTableCell__childRowToggle {
vertical-align: middle;
}

td.wdk-DataTableCell__thumbnail {
vertical-align: middle;
height: 50px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
.membership-filter {
margin-top: 1.5em;
}
.DataTable-Body {
.DataTable--Sticky {
height: 14em;
}
.field-list > * {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
max-width: unset;
width: unset;
overflow-x: unset;
width: 100%;

table {
width: 100%;
}

// Set background-color of selected rows
tr:has(> td.SelectionCell > div > input:checked) > td {
Expand Down

0 comments on commit 4465cd2

Please sign in to comment.