V8 UI - umb-sticky-bar corrected width and height set by JS.
This commit is contained in:
@@ -119,9 +119,9 @@ Use this directive make an element sticky and follow the page when scrolling.
|
||||
}
|
||||
|
||||
function calculateSize() {
|
||||
var width = bar.innerWidth();
|
||||
clonedBar.css({
|
||||
width: bar.outerWidth(),
|
||||
height: bar.height()
|
||||
width: width
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
margin-top: -10px;
|
||||
position: relative;
|
||||
top: 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
&.nested {
|
||||
margin-top: 0;
|
||||
|
||||
Reference in New Issue
Block a user