| <!-- The common style definitions should go to <add-smb-share-dialog> |
| component for consistency, because that component is used in both Files app |
| and OS settings page. Only Files app specific styles should be added here. |
| --> |
| <style> |
| add-smb-share-dialog::part(dialog) { |
| border-radius: 0; |
| height: 100%; |
| width: 100%; |
| } |
| |
| /* SMB dialog inside Files app is rendered inside a native dialog with fixed |
| height, so we need to hard-code the body height. */ |
| add-smb-share-dialog::part(body) { |
| height: 425px; |
| } |
| </style> |
| |
| <add-smb-share-dialog on-close="onDialogClose_"> |
| </add-smb-share-dialog> |