File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
packages/dialog/src/styles Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,19 @@ const dialogResizableOverlay = css`
134134 min-height : 0 ;
135135 overflow : auto;
136136 overscroll-behavior : contain;
137+ clip-path : border-box;
138+ }
139+
140+ [part = 'header' ],
141+ : host (: not ([has-header ])) [part = 'content' ] {
142+ border-top-left-radius : inherit;
143+ border-top-right-radius : inherit;
144+ }
145+
146+ [part = 'footer' ],
147+ : host (: not ([has-footer ])) [part = 'content' ] {
148+ border-bottom-left-radius : inherit;
149+ border-bottom-right-radius : inherit;
137150 }
138151
139152 .resizer-container {
@@ -142,6 +155,12 @@ const dialogResizableOverlay = css`
142155 flex-grow : 1 ;
143156 border-radius : inherit;
144157 max-width : 100% ;
158+ border-radius : calc (
159+ var (--vaadin-dialog-border-radius , var (--vaadin-radius-l )) - var (
160+ --vaadin-dialog-border-width ,
161+ var (--vaadin-overlay-border-width , 1px )
162+ )
163+ );
145164 }
146165
147166 : host (: not ([resizable ])) .resizer {
You can’t perform that action at this time.
0 commit comments