Skip to content

Commit 5d87c12

Browse files
2 parents ef0a8a9 + 63d4875 commit 5d87c12

File tree

6 files changed

+1278
-1503
lines changed

6 files changed

+1278
-1503
lines changed

src/webparts/controlsTest/ControlsTestWebPart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default class ControlsTestWebPart extends BaseClientSideWebPart<IControls
8787
themeVariant: this._themeVariant,
8888
context: this.context,
8989
description: this.properties.description,
90-
title: this.properties.title,
90+
title: this.properties.title ?? "Sample title",
9191
displayMode: this.displayMode,
9292
updateProperty: (value: string) => {
9393
this.properties.title = value;

src/webparts/controlsTest/components/ControlsTest.module.scss

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,20 @@ $themePrimary: '[theme:themePrimary, default:#0078d7]';
77
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 25px 50px 0 rgba(0, 0, 0, 0.1);
88
}
99

10+
.toggleFilter {
11+
display: flex;
12+
float: left;
13+
margin: 10px;
14+
}
15+
16+
.controlFiltersContainer {
17+
overflow: auto;
18+
display: grid;
19+
grid-template-columns: auto auto auto;
20+
}
21+
1022
.row {
11-
padding: 20px;
23+
padding: 10px;
1224
>div>div {
1325
margin-bottom: 10px;
1426
}

0 commit comments

Comments
 (0)