diff --git a/media/style.css b/media/style.css index b6a20df..56c8daf 100644 --- a/media/style.css +++ b/media/style.css @@ -14,6 +14,19 @@ box-shadow: 0 2px 8px var(--vscode-widget-shadow); } +.structure-settings-dropdown { + background-color: var(--vscode-menu-background); +} + +.structure-settings-dropdown-item { + color: var(--vscode-menu-foreground); + background-color: var(--vscode-menu-background); +} + +.structure-dialog-icon { + color: var(--vscode-menu-foreground); +} + ::selection { color: var(--vscode-menu-background); background-color: var(--vscode-menu-foreground); diff --git a/src/viewer/structures/StructureDialog.tsx b/src/viewer/structures/StructureDialog.tsx index 209c72d..39ffc8f 100644 --- a/src/viewer/structures/StructureDialog.tsx +++ b/src/viewer/structures/StructureDialog.tsx @@ -545,6 +545,7 @@ export default class StructureDialog extends React.Component { display: "flex", flexDirection: "row", alignItems: "center", + justifyContent: "space-between" }} > { > - + this.props.onClose()}> - + - void; @@ -39,7 +52,7 @@ export const StructureSettingsDropdown: React.FunctionComponent - + handleClose('')} MenuListProps={{ 'aria-labelledby': 'basic-button', + sx: { py: 0 } }} > - {/* Profile */} - handleClose('save')}> - - - - Save Structure Definition - - handleClose('load')}> - - - - Load Structure Definition - + + handleClose('save')}> + + + + Save Structure Definition + + handleClose('load')}> + + + + Load Structure Definition + + );