Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit 0d48d32

Browse files
alorenzennshahan
authored andcommitted
Migrate material_tab to preserveWhitespace: false.
PiperOrigin-RevId: 176170806
1 parent e71ff99 commit 0d48d32

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lib/material_tab/material_tab.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ abstract class Tab extends Focusable {
6464
</div>''',
6565
styleUrls: const ['material_tab.scss.css'],
6666
directives: const [NgIf],
67-
// TODO(google): Change preserveWhitespace to false to improve codesize.
68-
preserveWhitespace: true,
6967
)
7068
class MaterialTabComponent extends RootFocusable
7169
implements Tab, DeferredContentAware {

lib/material_tab/tab_button.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ import 'package:angular_components/material_tab/tab_mixin.dart';
2525
''',
2626
styleUrls: const ['tab_button.scss.css'],
2727
directives: const [MaterialRippleComponent],
28-
// TODO(google): Change preserveWhitespace to false to improve codesize.
29-
preserveWhitespace: true,
3028
)
3129
class TabButtonComponent extends MaterialButtonBase with TabMixin {
3230
final Element _nativeElement;

0 commit comments

Comments
 (0)