diff --git a/src/fragments/footer/Footer.vue b/src/fragments/footer/Footer.vue
index 01de8f576..3fdf35c79 100755
--- a/src/fragments/footer/Footer.vue
+++ b/src/fragments/footer/Footer.vue
@@ -1,27 +1,17 @@
-
-
- v{{ appVersion }}
-
- © {{currentYear}} {{footerMainSiteName}}
- | {{ $t('global.developedByIntro') }}
-
- {{ $t('global.developedBy') }}
-
-
-
-
- {{$t('about.privacyPolicy')}}
-
-
-
- {{$t('about.termsOfService')}}
-
-
-
+ :style="{'margin-top':'-' + $store.getters.footerHeight + 'px'}"
+ :height="$store.getters.footerHeight">
+
+ v{{ appVersion }} | © {{currentYear}} {{footerMainSiteName}}
+
+ {{ $t('about.privacyPolicy') }}
+
+ {{$t('about.termsOfService')}}
+
diff --git a/src/fragments/footer/footer.css b/src/fragments/footer/footer.css
index b025e7818..2db82e51f 100755
--- a/src/fragments/footer/footer.css
+++ b/src/fragments/footer/footer.css
@@ -1,14 +1,9 @@
footer {
text-align: center;
- padding-top: 25px;
- padding-bottom: 25px;
+ padding: 5px;
}
-footer.small {
- padding-top: 10px;
- padding-bottom: 10px;
-}
footer p{
color: #cbcbcb;
margin: auto;
diff --git a/src/fragments/footer/footer.js b/src/fragments/footer/footer.js
index f3f4c60cc..c2bb24bb7 100755
--- a/src/fragments/footer/footer.js
+++ b/src/fragments/footer/footer.js
@@ -1,4 +1,5 @@
import appConfig from '@/config/app-config'
+import theme from '@/config/theme'
export default {
data () {
return {
@@ -10,6 +11,9 @@ export default {
currentYear () {
return (new Date()).getFullYear()
},
+ linkColor () {
+ return 'color: ' + theme.primary + ';'
+ },
appVersion () {
let env = process.env
let version = env.PACKAGE_JSON.version
diff --git a/src/fragments/sidebar/Sidebar.vue b/src/fragments/sidebar/Sidebar.vue
index 986709ea7..cfe38305a 100755
--- a/src/fragments/sidebar/Sidebar.vue
+++ b/src/fragments/sidebar/Sidebar.vue
@@ -30,7 +30,7 @@