From a1816f3587aa63f2eebbda4f38c1a194e286e281 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 10:53:17 +0100 Subject: [PATCH] docs: add DocCardList component for index doc (#45295) Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Erick Zhao --- docs/tutorial/window-customization.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/tutorial/window-customization.md b/docs/tutorial/window-customization.md index 71840bdaecd..c932035faee 100644 --- a/docs/tutorial/window-customization.md +++ b/docs/tutorial/window-customization.md @@ -1,3 +1,5 @@ +import DocCardList from '@theme/DocCardList'; + # Window Customization The [`BrowserWindow`][] module is the foundation of your Electron application, and @@ -5,13 +7,15 @@ it exposes many APIs that let you customize the look and behavior of your app’ This section covers how to implement various use cases for window customization on macOS, Windows, and Linux. -:::info -`BrowserWindow` is a subclass of the [`BaseWindow`][] module. Both modules allow -you to create and manage application windows in Electron, with the main difference -being that `BrowserWindow` supports a single, full size web view while `BaseWindow` -supports composing many web views. `BaseWindow` can be used interchangeably with `BrowserWindow` -in the examples of the documents in this section. -::: +> [!NOTE] +> `BrowserWindow` is a subclass of the [`BaseWindow`][] module. Both modules allow +> you to create and manage application windows in Electron, with the main difference +> being that `BrowserWindow` supports a single, full size web view while `BaseWindow` +> supports composing many web views. `BaseWindow` can be used interchangeably with `BrowserWindow` +> in the examples of the documents in this section. + + + [`BaseWindow`]: ../api/base-window.md [`BrowserWindow`]: ../api/browser-window.md