Skip to content

Commit

Permalink
[new] add scrollbar width measure helper class
Browse files Browse the repository at this point in the history
  • Loading branch information
Minwe committed May 13, 2015
1 parent 906dde4 commit 0abfc4d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/javascript/modal.md
Expand Up @@ -300,7 +300,7 @@ $(function() {

### Modal Loading

采纳
采纳网友意见,Loading 窗口只能通过 JS 关闭。

`````html
<button class="am-btn am-btn-success" data-am-modal="{target: '#my-modal-loading'}">Modal Loading</button>
Expand Down
9 changes: 9 additions & 0 deletions less/base.less
Expand Up @@ -798,6 +798,15 @@ select {
*/


// Scrollbar measure help class
.@{ns}scrollbar-measure {
width: 100px;
height: 100px;
overflow: scroll;
position: absolute;
top: -9999px;
}

// Base Hooks

.hook-base-body() {}
2 changes: 1 addition & 1 deletion less/ui.popover.less
Expand Up @@ -137,7 +137,7 @@
}
};

.@{ns}popover-secondary {
.@{ns}popover-primary {
.popover-color-variant(@global-primary);
}

Expand Down

0 comments on commit 0abfc4d

Please sign in to comment.