Commit da785eae by Tyler Hallada

Button print subsection styling

parent 9dd48e19
...@@ -144,7 +144,7 @@ div.problem-progress { ...@@ -144,7 +144,7 @@ div.problem-progress {
font-size: em(14); font-size: em(14);
} }
div.problem-wrapper { div.problems-wrapper {
@media print { @media print {
page-break-inside: avoid; page-break-inside: avoid;
} }
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
this.$('#sequence-list .nav-item').on('focus mouseenter', this.displayTabTooltip); this.$('#sequence-list .nav-item').on('focus mouseenter', this.displayTabTooltip);
this.$('#sequence-list .nav-item').on('blur mouseleave', this.hideTabTooltip); this.$('#sequence-list .nav-item').on('blur mouseleave', this.hideTabTooltip);
// lol hackathon // lol hackathon
$('.print-submodule').click($.proxy(this.printSubmodule, this)); $('.print-subsection').click($.proxy(this.printSubmodule, this));
}; };
Sequence.prototype.previousNav = function(focused, index) { Sequence.prototype.previousNav = function(focused, index) {
......
...@@ -914,7 +914,7 @@ ...@@ -914,7 +914,7 @@
display: inline-block; display: inline-block;
} }
.print-submodule { .print-subsection {
float: right; float: right;
display: inline-block; display: inline-block;
......
...@@ -182,7 +182,7 @@ ${HTML(fragment.foot_html())} ...@@ -182,7 +182,7 @@ ${HTML(fragment.foot_html())}
</div> </div>
</nav> </nav>
</div> </div>
<button class="btn print-submodule">Print Submodule</button> <button class="btn print-subsection"><span class="icon fa fa-print" aria-hidden="true"></span> Print Subsection</button>
</header> </header>
<main id="main" tabindex="-1" aria-label="Content"> <main id="main" tabindex="-1" aria-label="Content">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment