Skip to content

Commit e47ac1f

Browse files
committed
MDCMigration: fix settings modal style
1 parent d7fd4ad commit e47ac1f

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

Diff for: tensorboard/webapp/settings/_views/settings_dialog_component.css

+3-10
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,14 @@ limitations under the License.
1717
}
1818

1919
:host > div {
20-
margin: 10px 0;
21-
}
22-
23-
:host > :first-child {
24-
margin-top: 0;
25-
}
26-
27-
:host > :last-child {
28-
margin-bottom: 0;
20+
margin: 8px;
2921
}
3022

3123
h3 {
3224
font-size: 20px;
25+
margin: 8px;
3326
}
3427

3528
.reload-toggle {
36-
margin-bottom: 10px;
29+
margin-bottom: 8px;
3730
}

Diff for: tensorboard/webapp/settings/_views/settings_dialog_component.ng.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ <h3>Settings</h3>
2323
</div>
2424
<div>
2525
<mat-form-field>
26+
<mat-label>Reload Period (seconds)</mat-label>
2627
<input
2728
class="reload-period"
2829
matInput
2930
type="number"
30-
placeholder="Reload Period (seconds)"
3131
[formControl]="reloadPeriodControl"
3232
/>
3333
</mat-form-field>
@@ -43,11 +43,11 @@ <h3>Settings</h3>
4343
</div>
4444
<div>
4545
<mat-form-field>
46+
<mat-label>Pagination Limit</mat-label>
4647
<input
4748
class="page-size"
4849
matInput
4950
type="number"
50-
placeholder="Pagination Limit"
5151
[formControl]="paginationControl"
5252
/>
5353
</mat-form-field>

0 commit comments

Comments
 (0)