Skip to content

Commit

Permalink
Add a guide link on edge overlays
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 688236234
  • Loading branch information
Google AI Edge authored and copybara-github committed Oct 21, 2024
1 parent 132f6d2 commit d17cce7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/ui/src/components/visualizer/edge_overlays_dropdown.ng.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,14 @@
<div class="model-explorer-edge-overlays-popup">
<div class="label">
<div>Edge overlays</div>
<div class="icon-container close" bubbleClose>
<mat-icon>close</mat-icon>
<div class="right-wrapper">
<a href="https://github.com/google-ai-edge/model-explorer/wiki/2.-User-Guide#edge-overlays"
target="_blank">
Guide
</a>
<div class="icon-container close" bubbleClose>
<mat-icon>close</mat-icon>
</div>
</div>
</div>

Expand Down
6 changes: 6 additions & 0 deletions src/ui/src/components/visualizer/edge_overlays_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@
&:not(:first-child) {
margin-top: 12px;
}

.right-wrapper {
display: flex;
align-items: center;
gap: 4px;
}
}

.loaded-overlays-container {
Expand Down

0 comments on commit d17cce7

Please sign in to comment.