diff --git a/assets/css/app.scss b/assets/css/app.scss
index 0f4f151..5e1014a 100644
--- a/assets/css/app.scss
+++ b/assets/css/app.scss
@@ -582,24 +582,26 @@ footer[role="tools"]{
}
}
article.result.item{
- header{
h1{
@include title3black;
font-weight: 600;
}
h2{
@include title3black;
+ text-transform: none;
}
- }
- .preview{
- font-size: 0.882em;
- margin:0;
- code{
- @include fontserif;
- background-color: lighten(desaturate($rouge,20%), 20%);
- padding:0 0.2em;
+ span{
+ font-size: 0.882em;
}
- }
+ // .preview{
+ // font-size: 0.882em;
+ // margin:0;
+ // code{
+ // @include fontserif;
+ // background-color: lighten(desaturate($rouge,20%), 20%);
+ // padding:0 0.2em;
+ // }
+ // }
}
}
}
diff --git a/src/App.vue b/src/App.vue
index 02a9b26..34c6d15 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -33,7 +33,7 @@ import History from './components/nav/History'
import Results from './components/nav/Results'
import Search from './components/nav/Search'
import FooterTabs from './components/nav/FooterTabs'
-import { mapState } from 'vuex'
+import { mapActions, mapState } from 'vuex'
export default {
metaInfo: {
@@ -55,7 +55,18 @@ export default {
},
computed: {
...mapState({
- resultsOpened: state => state.Search.opened
+ resultsOpened: state => state.Search.opened,
+ editionslist: state => state.Corpus.editionslist
+ })
+ },
+ created () {
+ if (!this.editionslist.length) {
+ this.getCorpuses()
+ }
+ },
+ methods: {
+ ...mapActions({
+ getCorpuses: 'Corpus/getCorpuses'
})
}
}
diff --git a/src/components/Content/ResultItem.vue b/src/components/Content/ResultItem.vue
index 984b352..bcf7b35 100644
--- a/src/components/Content/ResultItem.vue
+++ b/src/components/Content/ResultItem.vue
@@ -1,30 +1,31 @@
-
-
+
+
+
+
+
+
+
+