File tree Expand file tree Collapse file tree 1 file changed +18
-12
lines changed
Expand file tree Collapse file tree 1 file changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,13 @@ export class DialogSelectWeekdays extends LitElement {
187187 static get styles ( ) : CSSResultGroup {
188188 return css `
189189 ha-dialog {
190- --dialog-content-padding : 0px ;
190+ --dialog-content-padding : 0 ;
191+ --mdc-dialog-max-height : 60vh ;
192+ }
193+ @media all and (min-width : 350px ) {
194+ ha-dialog {
195+ --mdc-dialog-min-width : 300px ;
196+ }
191197 }
192198 div .wrapper {
193199 color : var (--primary-text-color );
@@ -205,17 +211,17 @@ export class DialogSelectWeekdays extends LitElement {
205211 --mdc-list-side-padding : 36px ;
206212 }
207213 .badge {
208- height : 24px ;
209- border-radius : 12px ;
210- background : rgba (var (--rgb-primary-color ), 0.3 );
211- line-height : 1.25rem ;
212- font-size : 0.875rem ;
213- font-weight : 400 ;
214- padding : 0px 12px ;
215- display : inline-flex;
216- align-items : center;
217- box-sizing : border-box;
218- margin : 0px 16px ;
214+ height : 24px ;
215+ border-radius : 12px ;
216+ background : rgba (var (--rgb-primary-color ), 0.3 );
217+ line-height : 1.25rem ;
218+ font-size : 0.875rem ;
219+ font-weight : 400 ;
220+ padding : 0px 12px ;
221+ display : inline-flex;
222+ align-items : center;
223+ box-sizing : border-box;
224+ margin : 0px 16px ;
219225 }
220226 ` ;
221227 }
You can’t perform that action at this time.
0 commit comments