瀏覽代碼

fix(docs): use `data-tauri-drag-region` instead of `drag-region` class (#2112)

Amr Bashir 4 年之前
父節點
當前提交
2a6cfbf818
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/usage/guides/visual/window-customization.md

+ 1 - 1
docs/usage/guides/visual/window-customization.md

@@ -51,7 +51,7 @@ You'll need to add some CSS for the titlebar to keep it at the top of the screen
 Now, you'll need to add the HTML for the titlebar. Put this at the top of your `<body>` tag:
 
 ```html
-<div class="drag-region titlebar">
+<div data-tauri-drag-region class="titlebar">
   <div class="titlebar-button" id="titlebar-minimize">
     <img
       src="https://api.iconify.design/mdi:window-minimize.svg"