Skip to content

Commit

Permalink
Fix op table header and cells alignment
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 624338267
  • Loading branch information
zzzaries authored and copybara-github committed Apr 13, 2024
1 parent 55ed9c7 commit 5877cf7
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions frontend/app/components/op_profile/op_profile_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,19 @@
cursor: pointer;
}

// set left margin of 16px to match leading span for each cell (for aria-label)
.time-header,
.wasted-header,
.hbmFraction-header,
.name-header,
.provenance-header,
.utilization-hader,
.hbmUtilization-header,
.utilization-header,
.hbmUtilization-header {
margin-left: 16px;
}

.time-header,
.wasted-header,
.hbmFraction-header,
Expand Down Expand Up @@ -87,6 +100,11 @@
font-size: smaller;
}

.wasted,
.wasted-header {
width: 8%;
}

.name-header,
.name {
display: inline-block;
Expand All @@ -96,13 +114,14 @@
word-break: break-all;
}

.name {
.name,
.provenance {
text-align: left;
}

.provenance-header,
.provenance {
width: 20%;
width: 10%;
}

.utilization-header,
Expand Down

0 comments on commit 5877cf7

Please sign in to comment.