Skip to content

Commit 47bd8ac

Browse files
committed
added class for all panels in footer to have bg-color of 202122, gave homeque component a height value relational with height of footer, added overflow property to homequeue class and padding so that elements at the bottom can be seen
1 parent 5da05ce commit 47bd8ac

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

src/components/Footer.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<q-tab name="html" label="HTML Elements" id="label-text" />
2323
</q-tabs>
2424

25-
<q-tab-panels v-model="tab" animated class="bg-primary text-white full-footer">
25+
<q-tab-panels v-model="tab" animated class="html-bg text-white full-footer">
2626
<q-tab-panel name="code">
2727
<CodeSnippet />
2828
</q-tab-panel>
@@ -35,7 +35,7 @@
3535
<Tree />
3636
</q-tab-panel>
3737

38-
<q-tab-panel name="html">
38+
<q-tab-panel name="html" :style="{height: `${height}vh`}">
3939
<HomeQueue />
4040
</q-tab-panel>
4141
</q-tab-panels>
@@ -182,4 +182,8 @@ i {
182182
border-radius: 0px;
183183
background: #737578;
184184
}
185+
.html-bg {
186+
// give html background color of grey
187+
background-color: #202122;
188+
}
185189
</style>

src/components/HomeQueue.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ export default {
137137

138138
<style lang="stylus" scoped>
139139
.home-queue {
140-
height: 100%;
140+
overflow: scroll;
141+
padding-bottom: 40px;
141142
}
142143
li {
143144
list-style-type: none;

src/layouts/MyLayout.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,4 @@ export default {
102102
background: $subprimary;
103103
// background: #272822;
104104
}
105-
106-
// ::-webkit-scrollbar {
107-
// display: none;
108-
// }
109105
</style>

0 commit comments

Comments
 (0)