assure a minimum width of the variant picker modal

This commit is contained in:
Jacob Overgaard
2024-02-21 10:55:04 +01:00
parent 5b2de0ecd5
commit 24eb6f4b2d
2 changed files with 5 additions and 1 deletions

View File

@@ -142,6 +142,11 @@ export class UmbDocumentVariantPickerModalElement extends UmbModalBaseElement<
static styles = [
UmbTextStyles,
css`
:host {
display: block;
width: 400px;
max-width: 90vw;
}
#subtitle {
margin-top: 0;
}

View File

@@ -17,6 +17,5 @@ export const UMB_DOCUMENT_LANGUAGE_PICKER_MODAL = new UmbModalToken<
>(UMB_DOCUMENT_VARIANT_PICKER_MODAL_ALIAS, {
modal: {
type: 'dialog',
size: 'small',
},
});