Skip to content

Commit fb32981

Browse files
docs(ui5-dialog): default margins in samples removed (#12948)
fixes: #12871
1 parent a0c20d0 commit fb32981

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

packages/website/docs/_samples/main/Dialog/BarInDialog/main.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
padding-inline: 0;
55
}
66

7-
87
/* Styles for Dialog with State */
98
#dialogState::part(header),
109
#dialogState::part(footer) {

packages/website/docs/_samples/main/Dialog/BarInDialog/sample.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<ui5-button class="dialogCloser" design="Transparent" slot="endContent"
2121
icon="decline"></ui5-button>
2222
</ui5-bar>
23-
<p>Custom styles are applied to remove the default Dialog's paddings when ui5-bar is placed in the header or footer of a dialog.</p>
23+
<div>Custom styles are applied to remove the default Dialog's paddings when ui5-bar is placed in the header or footer of a dialog.</div>
2424
<ui5-bar slot="footer" design="Footer">
2525
<ui5-button class="dialogCloser" design="Emphasized" slot="endContent"
2626
style="min-width: 4rem;">OK</ui5-button>
@@ -33,7 +33,7 @@
3333
<ui5-bar id="bar" slot="header" design="Header">
3434
<ui5-title level="H5" slot="startContent">Bar used in Header and Footer</ui5-title>
3535
</ui5-bar>
36-
<p>Custom styles are applied to adjust the paddings when a ui5-bar is placed in the header or footer of a dialog with state.</p>
36+
<div>Custom styles are applied to adjust the paddings when a ui5-bar is placed in the header or footer of a dialog with state.</div>
3737
<ui5-bar slot="footer" design="Footer">
3838
<ui5-button design="Emphasized" id="closeDialogStateButton" slot="endContent"
3939
style="min-width: 4rem;">OK</ui5-button>

packages/website/docs/_samples/main/Dialog/DraggableAndResizable/sample.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
<ui5-button id="dialogOpener">Open Dialog</ui5-button>
1515

1616
<ui5-dialog id="dialog" header-text="Draggable/Resizable dialog" draggable resizable>
17-
<p>Move this dialog around the screen by dragging it by its header.</p>
18-
<p>Resize this dialog by dragging it by its resize handle.</p>
19-
<p>These features are available only on Desktop.</p>
17+
<div>Move this dialog around the screen by dragging it by its header.</div>
18+
<div>Resize this dialog by dragging it by its resize handle.</div>
19+
<div>These features are available only on Desktop.</div>
2020
<ui5-toolbar slot="footer">
2121
<ui5-toolbar-button class="dialogCloser" design="Emphasized" text="OK"></ui5-toolbar-button>
2222
</ui5-toolbar>

0 commit comments

Comments
 (0)