Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/fiori/src/ViewSettingsDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ type VSDInternalSettings = {
* @extends UI5Element
* @since 1.0.0-rc.16
* @public
* @csspart reset-button - Used to style the reset button in the header.
*/
@customElement({
tag: "ui5-view-settings-dialog",
Expand Down
1 change: 1 addition & 0 deletions packages/fiori/src/ViewSettingsDialogTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ function ViewSettingsDialogTemplateHeader(this: ViewSettingsDialog) {
<div class="ui5-vsd-header-end">
<Button
design="Transparent"
part="reset-button"
onClick={this._resetSettings}
disabled={this._disableResetButton}
>{this._resetButtonLabel}</Button>
Expand Down
6 changes: 6 additions & 0 deletions packages/fiori/test/pages/ViewSettingsDialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
}
</script>

<style>
#vsdGroup::part(reset-button) {
background-color: pink;
}
</style>

<script src="%VITE_BUNDLE_PATH%" type="module"></script>

<link rel="stylesheet" type="text/css" href="./styles/ViewSettingsDialog.css">
Expand Down
Loading