Skip to content

Commit d61c249

Browse files
committed
Fixed the resizing issue by adding padding at the top
1 parent c06ba9d commit d61c249

1 file changed

Lines changed: 17 additions & 7 deletions

File tree

resources/js/layouts/default.vue

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,30 @@
33
<div v-if="!inIFrame">
44
<navbar />
55
</div>
6-
6+
<div v-else style="padding-top:30px" />
77
<div :class="{'container':true, 'mt-4':true,'expandHeight': ((user === null) && !inIFrame)}">
8-
<child />
8+
<child/>
99
</div>
1010
<div v-if="(user === null) && !inIFrame" class="d-flex flex-column" style="background: #e5f5fe">
1111
<footer class="footer" style="border:1px solid #30b3f6">
1212
<p class="pt-3 pl-3 pr-4">
13-
The LibreTexts Adapt platform is supported by the Department of Education Open Textbook Pilot Project and the <a href="https://opr.ca.gov/learninglab/">California Education Learning Lab</a>.
14-
Unless otherwise noted, LibreTexts content is licensed by CC BY-NC-SA 3.0. Have questions or comments? For more information contact us at <a href="mailto:info@libretexts.org.">info@libretexts.org.</a>
13+
The LibreTexts Adapt platform is supported by the Department of Education Open Textbook Pilot Project and the
14+
<a href="https://opr.ca.gov/learninglab/">California Education Learning Lab</a>.
15+
Unless otherwise noted, LibreTexts content is licensed by CC BY-NC-SA 3.0. Have questions or comments? For
16+
more information contact us at <a href="mailto:info@libretexts.org.">info@libretexts.org.</a>
1517
</p>
1618

1719
<div class="d-flex justify-content-center flex-wrap">
18-
<a class="ml-5 pt-3 pb-3" href="https://www.ed.gov/news/press-releases/us-department-education-awards-49-million-grant-university-california-davis-develop-free-open-textbooks-program" rel="external nofollow" target="_blank" title="https://www.ed.gov/news/press-releases/us-department-education-awards-49-million-grant-university-california-davis-develop-free-open-textbooks-program"> <img alt="DOE Logo.png" :src="asset('assets/img/DOE.png')"></a>
19-
<a class="ml-5 pt-3 pb-3" href="https://blog.libretexts.org/2020/03/21/libretext-project-announces-1-million-california/" rel="external nofollow" target="_blank" title="https://blog.libretexts.org/2020/03/21/libretext-project-announces-1-million-california/"> <img alt="DOE Logo.png" style="height:85px;" :src="asset('assets/img/CELL_LogoColor.png')"></a>
20+
<a class="ml-5 pt-3 pb-3"
21+
href="https://www.ed.gov/news/press-releases/us-department-education-awards-49-million-grant-university-california-davis-develop-free-open-textbooks-program"
22+
rel="external nofollow" target="_blank"
23+
title="https://www.ed.gov/news/press-releases/us-department-education-awards-49-million-grant-university-california-davis-develop-free-open-textbooks-program"
24+
> <img alt="DOE Logo.png" :src="asset('assets/img/DOE.png')"></a>
25+
<a class="ml-5 pt-3 pb-3"
26+
href="https://blog.libretexts.org/2020/03/21/libretext-project-announces-1-million-california/"
27+
rel="external nofollow" target="_blank"
28+
title="https://blog.libretexts.org/2020/03/21/libretext-project-announces-1-million-california/"
29+
> <img alt="DOE Logo.png" style="height:85px;" :src="asset('assets/img/CELL_LogoColor.png')"></a>
2030
</div>
2131
</footer>
2232
</div>
@@ -48,7 +58,7 @@ export default {
4858
}
4959
</script>
5060
<style scoped>
51-
.expandHeight{
61+
.expandHeight {
5262
min-height: 700px
5363
}
5464
</style>

0 commit comments

Comments
 (0)