Skip to content

Commit

Permalink
linked time: decouple fob from linked time: fix scalar scss file rena…
Browse files Browse the repository at this point in the history
…me (#5735)

While renamign the linked time fob to be card fob (#5732), a scss file was overlooked. This PR rename `scalar_card_linked_time_fob_controller.scss` to `scalar_card_fob_controller.scss`.
  • Loading branch information
japie1235813 authored Jun 6, 2022
1 parent 9606b27 commit 0775fbc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions tensorboard/webapp/metrics/views/card_renderer/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ tf_sass_binary(
)

tf_sass_binary(
name = "scalar_card_linked_time_fob_controller_styles",
src = "scalar_card_linked_time_fob_controller.scss",
name = "scalar_card_fob_controller_styles",
src = "scalar_card_fob_controller.scss",
deps = [
"//tensorboard/webapp/metrics/views:metrics_common_styles",
],
Expand All @@ -264,7 +264,7 @@ tf_ng_module(
],
assets = [
":scalar_card_styles",
":scalar_card_linked_time_fob_controller_styles",
":scalar_card_fob_controller_styles",
"scalar_card_component.ng.html",
],
deps = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ limitations under the License.
==============================================================================*/

// Creates height space for vertical lines
::ng-deep scalar-card-linked-time-fob-controller .time-fob-wrapper {
::ng-deep scalar-card-fob-controller .time-fob-wrapper {
height: 100%;
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {Scale} from '../../../widgets/line_chart_v2/lib/public_types';
(onSelectTimeToggle)="onSelectTimeToggle.emit($event)"
></card-fob-controller>
`,
styleUrls: ['scalar_card_linked_time_fob_controller.css'],
styleUrls: ['scalar_card_fob_controller.css'],
})
export class ScalarCardFobController implements CardFobAdapter {
@Input() linkedTime!: LinkedTime;
Expand Down

0 comments on commit 0775fbc

Please sign in to comment.