Skip to content

Commit 10a07b8

Browse files
authored
Update Window Control Overlay doc to use "app-region" instead of "-webkit-app-region" (#3557)
1 parent 0927960 commit 10a07b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

microsoft-edge/progressive-web-apps/how-to/window-controls-overlay.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ The `env()` CSS function takes a second parameter that's useful for defining the
9797

9898
When the title bar is hidden, only the system-critical window controls remain visible (the **Maximize**, **Minimize**, **Close**, and **App Info** icons). This means that there is very little space available for users to move the application window around.
9999

100-
You can use the `-webkit-app-region` CSS property to offer more ways for users to drag the app. For example, if your app has its own titlebar, you can turn its titlebar into a window drag handle:
100+
You can use the `app-region` CSS property to offer more ways for users to drag the app. For example, if your app has its own titlebar, you can turn its titlebar into a window drag handle:
101101

102102
```css
103103
#title-bar {
@@ -106,7 +106,7 @@ You can use the `-webkit-app-region` CSS property to offer more ways for users t
106106
top: env(titlebar-area-y, 0);
107107
height: env(titlebar-area-height, 50px);
108108
width: env(titlebar-area-width, 100%);
109-
-webkit-app-region: drag;
109+
app-region: drag;
110110
}
111111
```
112112

0 commit comments

Comments
 (0)