diff --git a/tensorboard/webapp/runs/views/runs_table/runs_group_menu_button_component.ng.html b/tensorboard/webapp/runs/views/runs_table/runs_group_menu_button_component.ng.html index d80243a3ee3..24f08202378 100644 --- a/tensorboard/webapp/runs/views/runs_table/runs_group_menu_button_component.ng.html +++ b/tensorboard/webapp/runs/views/runs_table/runs_group_menu_button_component.ng.html @@ -31,13 +31,11 @@ [attr.aria-checked]="selectedGroupBy.key === GroupByKey.EXPERIMENT" (click)="onGroupByChange.emit({key: GroupByKey.EXPERIMENT})" > - - - - + + Experiment diff --git a/tensorboard/webapp/runs/views/runs_table/runs_group_menu_button_component.scss b/tensorboard/webapp/runs/views/runs_table/runs_group_menu_button_component.scss index 545a7a0fc3d..172eb5151b4 100644 --- a/tensorboard/webapp/runs/views/runs_table/runs_group_menu_button_component.scss +++ b/tensorboard/webapp/runs/views/runs_table/runs_group_menu_button_component.scss @@ -27,12 +27,6 @@ limitations under the License. pointer-events: none; } - button { - display: grid; - gap: 2px 10px; - grid-template-columns: $_icon-size auto; - } - mat-icon { height: $_icon-size; width: $_icon-size; diff --git a/tensorboard/webapp/runs/views/runs_table/runs_table_test.ts b/tensorboard/webapp/runs/views/runs_table/runs_table_test.ts index 373c0fa1104..b467a5a0f31 100644 --- a/tensorboard/webapp/runs/views/runs_table/runs_table_test.ts +++ b/tensorboard/webapp/runs/views/runs_table/runs_table_test.ts @@ -638,7 +638,7 @@ describe('runs_table', () => { const items = getOverlayMenuItems(); expect( - items.map((element) => element.querySelector('label')!.textContent) + items.map((element) => element.querySelector('span')!.textContent) ).toEqual(['Experiment', 'Run', 'Regex', '(none set)']); }); @@ -655,9 +655,10 @@ describe('runs_table', () => { openColorGroupDialog(fixture); const items = getOverlayMenuItems(); + console.log('items', items); expect( - items.map((element) => element.querySelector('label')!.textContent) + items.map((element) => element.querySelector('span')!.textContent) ).toEqual(['Run', 'Regex', '(none set)']); });