Move .distance-travelled SCSS to scoped <style>

This commit is contained in:
Linus Groh
2021-02-24 20:07:47 +01:00
parent b3529c211c
commit 9786487646
2 changed files with 12 additions and 10 deletions
+12
View File
@@ -158,6 +158,18 @@
</header>
</template>
<style lang="scss" scoped>
.distance-travelled {
text-align: right;
line-height: 1.2;
.feather {
margin-top: 3px;
margin-right: 0 !important;
}
}
</style>
<script>
import moment from "moment";
import { mapActions, mapGetters, mapMutations, mapState } from "vuex";
-10
View File
@@ -151,16 +151,6 @@ pre {
.button-icon .feather {
margin: 0;
}
&.distance-travelled {
text-align: right;
line-height: 1.2;
.feather {
margin-top: 3px;
margin-right: 0;
}
}
}
&.nav-sm {