diff --git a/src/app/playground-components.ts b/src/app/playground-components.ts index 9b7b0a5386..c3a189c562 100644 --- a/src/app/playground-components.ts +++ b/src/app/playground-components.ts @@ -1485,6 +1485,12 @@ export const PLAYGROUND_COMPONENTS: ComponentLink[] = [ component: 'WindowsBackdropComponent', name: 'Windows Backdrop', }, + { + path: 'window-controls.component', + link: '/window/window-controls.component', + component: 'WindowControlsComponent', + name: 'Window Controls', + }, ], }, { diff --git a/src/framework/theme/components/window/window.component.scss b/src/framework/theme/components/window/window.component.scss index 9e5314613f..4226ed58ca 100644 --- a/src/framework/theme/components/window/window.component.scss +++ b/src/framework/theme/components/window/window.component.scss @@ -21,7 +21,7 @@ .buttons { width: 9.5rem; display: flex; - justify-content: space-evenly; + justify-content: flex-end; [nbButton] { flex: 0 0 3rem; diff --git a/src/framework/theme/components/window/window.component.ts b/src/framework/theme/components/window/window.component.ts index 487c0ea975..708944f7ab 100644 --- a/src/framework/theme/components/window/window.component.ts +++ b/src/framework/theme/components/window/window.component.ts @@ -27,15 +27,24 @@ import { NbWindowRef } from './window-ref';
Buttons config:
+