mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-29 13:03:09 +03:00
fix(docs): use data-tauri-drag-region
instead of drag-region
class (#2112)
This commit is contained in:
parent
a9d031873b
commit
2a6cfbf818
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user