diff options
| author | Kumar Priyansh <[email protected]> | 2020-08-31 00:34:39 +0530 |
|---|---|---|
| committer | Kumar Priyansh <[email protected]> | 2020-08-31 00:34:39 +0530 |
| commit | c31d8ecdd682a33703cd1539b752210c99bd6f43 (patch) | |
| tree | 47346f9f2c013cc1bfddfa69662b9aacb2ea74c9 /app | |
| parent | a1f340cd525634bcbe83b085a2dd2d7a3d164014 (diff) | |
| download | dictionary-c31d8ecdd682a33703cd1539b752210c99bd6f43.tar.xz dictionary-c31d8ecdd682a33703cd1539b752210c99bd6f43.zip | |
Added draggabel region for app movement
Diffstat (limited to 'app')
| -rw-r--r-- | app/css/style.css | 5 | ||||
| -rw-r--r-- | app/index.html | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/app/css/style.css b/app/css/style.css index a77cec5..9853773 100644 --- a/app/css/style.css +++ b/app/css/style.css @@ -12,6 +12,11 @@ body { max-height: 100vh; } +.drag_region { + height: 40px; + -webkit-app-region: drag +} + .search_box { position: absolute; top: 40%; diff --git a/app/index.html b/app/index.html index e6a421d..8a15388 100644 --- a/app/index.html +++ b/app/index.html @@ -8,6 +8,7 @@ </head> <body> <div class="dict_ui"> + <div class="drag_region"></div> <div class="search_box"> <input type="text" class="search" placeholder="Search for words..."> </div> |
