Skip to content

Commit

Permalink
Merge pull request #1547 from GuidoZam/guidozam-reordered-controltest…
Browse files Browse the repository at this point in the history
…webpart

Updated ControlsTestWebPart
  • Loading branch information
joelfmrodrigues committed Jul 6, 2023
2 parents 83b53cb + 2346da8 commit 63d4875
Show file tree
Hide file tree
Showing 6 changed files with 1,278 additions and 1,503 deletions.
2 changes: 1 addition & 1 deletion src/webparts/controlsTest/ControlsTestWebPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default class ControlsTestWebPart extends BaseClientSideWebPart<IControls
themeVariant: this._themeVariant,
context: this.context,
description: this.properties.description,
title: this.properties.title,
title: this.properties.title ?? "Sample title",
displayMode: this.displayMode,
updateProperty: (value: string) => {
this.properties.title = value;
Expand Down
14 changes: 13 additions & 1 deletion src/webparts/controlsTest/components/ControlsTest.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,20 @@ $themePrimary: '[theme:themePrimary, default:#0078d7]';
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 25px 50px 0 rgba(0, 0, 0, 0.1);
}

.toggleFilter {
display: flex;
float: left;
margin: 10px;
}

.controlFiltersContainer {
overflow: auto;
display: grid;
grid-template-columns: auto auto auto;
}

.row {
padding: 20px;
padding: 10px;
>div>div {
margin-bottom: 10px;
}
Expand Down
Loading

0 comments on commit 63d4875

Please sign in to comment.