+
Click anywhere in this content area, then press ESC to close the dialog.
@@ -46,8 +52,19 @@ To ensure the Dialog closes on `ESC` even after focusing the content, wrap the D
padding: 0;
}
+ /* Remove default Dialog title padding to let wrapper handle it */
+ .focusable-content .k-dialog-titlebar {
+ padding: 0;
+ }
+
+ /* Focusable wrapper that fills the entire Dialog title area */
+ .focusable-content .k-dialog-titlebar-actions {
+ padding-block: var(--kendo-spacing-3, 0.75rem);
+ padding-inline: var(--kendo-spacing-4, 1rem);
+ }
+
/* Focusable wrapper that fills the entire Dialog content area */
- .focusable-content .dialog-content-wrapper {
+ .focusable-content .dialog-wrapper {
padding: 1rem;
outline: none;
height: 100%;
@@ -56,9 +73,9 @@ To ensure the Dialog closes on `ESC` even after focusing the content, wrap the D
}
/* Optional visual indication when the wrapper is focused */
- .focusable-content .dialog-content-wrapper:focus-within {
+ /* .focusable-content .dialog-wrapper:focus-within {
background-color: rgba(0, 123, 255, 0.05);
- }
+ } */
@code {