section now inherits styles
This commit is contained in:
parent
84c26ae60f
commit
22e260378d
4 changed files with 11 additions and 5 deletions
0
Icon
Normal file
0
Icon
Normal file
|
|
@ -183,7 +183,7 @@ section {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
/* overflow: scroll; */
|
/* overflow: scroll; */
|
||||||
background: lightgray;
|
/* background: lightgray; */
|
||||||
}
|
}
|
||||||
section p {
|
section p {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<section id="content" :class="['content', currentStream]">
|
<section id="content">
|
||||||
<h1 class="title">{{ title }}</h1>
|
<h1 class="title">{{ title }}</h1>
|
||||||
<Chapter
|
<Chapter
|
||||||
v-for="topic in sortedTopics"
|
v-for="topic in sortedTopics"
|
||||||
|
|
@ -35,9 +35,9 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.content {
|
#content {
|
||||||
/* max-width: 700px; */
|
/* max-width: 700px; */
|
||||||
background: unset;
|
/* background: unset; */
|
||||||
}
|
}
|
||||||
@media print {
|
@media print {
|
||||||
.title {
|
.title {
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,10 @@
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</pane>
|
</pane>
|
||||||
<pane :size="panel_sizes[1]">
|
<pane
|
||||||
|
:size="panel_sizes[1]"
|
||||||
|
:class="currentStream"
|
||||||
|
>
|
||||||
<Content
|
<Content
|
||||||
:print="!show_ui || expand_content"
|
:print="!show_ui || expand_content"
|
||||||
:show_message_data="show_message_data"
|
:show_message_data="show_message_data"
|
||||||
|
|
@ -92,6 +95,9 @@ export default {
|
||||||
classes() {
|
classes() {
|
||||||
return this.show_ui ? "ui" : "print";
|
return this.show_ui ? "ui" : "print";
|
||||||
},
|
},
|
||||||
|
currentStream() {
|
||||||
|
return this.$store.state.currentStream
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
resizer(panels) {
|
resizer(panels) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue