Skip to content

Commit

Permalink
fix(react-layout): fix module error and React 16 error (#127)
Browse files Browse the repository at this point in the history
close #126
  • Loading branch information
daybrush authored and mixed committed Apr 3, 2018
1 parent 8e4cd39 commit ab581f1
Show file tree
Hide file tree
Showing 44 changed files with 29,927 additions and 1,609 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ GitHub.sublime-settings
!.vscode/extensions.json

### Custom ###
build/
report/
temp/
doc/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,23 @@
</div>
<div class="demobox">
<h1>
React JustifiedLayout DragEvent
React JustifiedLayout Drag To Indicator(Over IE10)
</h1>
<div id="__react-content"></div>
</div>

<style>
body {
margin: 10px;
padding: 0;
}
#__react-content {
position: relative;
}
.wrapper {
position: relative;
width: 100%;
}
.item {
position: absolute;
width: 200px;
Expand All @@ -36,7 +44,22 @@ <h1>
font-weight: bold;
color: #777;
}
.item.is_drag {
transition: none;
opacity: 0.5;
z-index: 2;
}
.indicator.is_show {
display: block;
}
.indicator {
display: none;
position: absolute;
width: 10px;
background: #f55;

}
</style>

<script src="./drag.js"></script>
<script src="../js/indicator.js"></script>

Loading

0 comments on commit ab581f1

Please sign in to comment.