Skip to content

Commit

Permalink
window frame drag fix for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Fechner authored and Florian Fechner committed May 31, 2018
1 parent 721b4d8 commit 85ba586
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ node_modules
bower_components
bin/*
dist
img/*
build/products
package-lock.json
10 changes: 8 additions & 2 deletions game-of-life/rough-window-frame/rough-window-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

/* make the window draggable on frame */
-webkit-user-select: none;
-webkit-app-region: drag;
}

.fixed
Expand All @@ -44,6 +43,12 @@
border-bottom: 1px ridge;
}

.drag-region
{
flex-grow: 1;
-webkit-app-region: drag;
}

.container
{
display: flex;
Expand All @@ -52,7 +57,7 @@

.item
{
flex: 1;
/* no flex */
}

.item-left
Expand Down Expand Up @@ -88,6 +93,7 @@
></rough-line-icon>

</div>
<div class="item drag-region"></div>
<div class="item item-right">

<rough-line-icon
Expand Down

0 comments on commit 85ba586

Please sign in to comment.