Skip to content

Commit

Permalink
Scrollable & hoverable metadata table
Browse files Browse the repository at this point in the history
  • Loading branch information
fl0wxr committed Mar 11, 2024
1 parent 921ee46 commit 1662a22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/static/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ function table(RawDCMMetadataObject, CleanedDCMMetadataObject, DiffEnabled)
`
<div class="outer-row">
<div class="inner-table-column-names">
<div class="table-row">
<div class="header-table-row">
<div class="cell-expand-row"></div>
<div class="cell-dcmtag-name"${UppermostRowStyle}><b>Tag Name</b></div>
<div class="cell-dcmtag-value"${UppermostRowStyle}><b>Tag Value</b></div>
Expand Down
4 changes: 2 additions & 2 deletions python/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ body {
min-width: 99.5%;
}

.inner-row:hover
.table-row:hover
{
background-color: rgba(60, 60, 70, 255);
transition: background-color 0.3s;
}

.table-row
.table-row, header-table-row
{
display: table-cell;
flex: 1;
Expand Down

0 comments on commit 1662a22

Please sign in to comment.