[FIX] : remove empty space on top
bzr revid: aja@tinyerp.com-20140125063438-gofwcaw6zzu3hoti
This commit is contained in:
parent
9fe226b6ce
commit
19bbce31a7
|
@ -50,6 +50,11 @@
|
|||
width: 263px;
|
||||
}
|
||||
}
|
||||
@media print {
|
||||
body {
|
||||
padding : 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
#countdown {
|
||||
padding-left : 10px;
|
||||
|
|
|
@ -65,7 +65,7 @@ $(document).ready(function () {
|
|||
});
|
||||
return false
|
||||
});
|
||||
// automatically generate a menu from h1 and h1 tag in content
|
||||
// automatically generate a menu from h1 and h2 tag in content
|
||||
var ul = $('[data-id="quote_sidebar"]');
|
||||
var sub_li = null;
|
||||
var sub_ul = null;
|
||||
|
@ -73,7 +73,7 @@ $(document).ready(function () {
|
|||
switch (this.tagName.toLowerCase()) {
|
||||
case "h1":
|
||||
id = _.uniqueId('quote_header_')
|
||||
$(this.parentNode).attr('id',id)
|
||||
$(this.parentNode).attr('id',id);
|
||||
sub_li = $("<li>").html('<a href="#'+id+'">'+$(this).text()+'</a>').appendTo(ul);
|
||||
sub_ul = null;
|
||||
break;
|
||||
|
|
|
@ -349,7 +349,7 @@
|
|||
</template>
|
||||
|
||||
<template id="navigation_menu">
|
||||
<div class="hidden-print navspy" role="complementary">
|
||||
<div class="hidden-print navspy" data-editable="0" role="complementary">
|
||||
<ul class="nav bs-sidenav" data-id="quote_sidebar">
|
||||
<li><a href="#introduction">Introduction</a></li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue