Skip to content

Commit

Permalink
chore(Css): cleaned up a bunch of css
Browse files Browse the repository at this point in the history
  • Loading branch information
RetroPronghorn committed Dec 19, 2021
1 parent 05bfe5d commit eac41f0
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 31 deletions.
3 changes: 3 additions & 0 deletions assets/styles/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ body {
&:extend(.full-width);
overscroll-behavior: none;
caret-color: @primary-color;
}

html {
&:extend(.background-gradient);
}

Expand Down
6 changes: 1 addition & 5 deletions assets/styles/platforms/iOS.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
#app {
border-top: none;
height: 100%;
}
#__layout{
height: calc(100% - 2px);
padding-top: calc(@normal-spacing * 2);
}
}
// @import '~/assets/styles/themes/moonless_night.less';
2 changes: 1 addition & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default defineNuxtConfig({
{
name: 'viewport',
content:
'width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover',
'viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no',
},
{ hid: 'description', name: 'description', content: '' },
],
Expand Down
1 change: 1 addition & 0 deletions pages/auth/register/Register.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

.registration-body {
align-self: center;
justify-self: center;
}
}

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@

@media only screen and (max-width: @mobile-breakpoint) {
.container {
margin: 0;
width: @full;
.columns {
margin: 0;
}
Expand All @@ -47,15 +45,14 @@
margin-top: auto;
width: unset;
min-width: @full;
&:extend(.full-width);
}
margin: 0;
width: unset;
width: 100%;
display: flex;
flex-direction: column;
align-self: flex-start;
height: 100%;
padding: 0 @normal-spacing;
}
padding-bottom: @normal-spacing;
}
}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template src="./InputAccount.html"></template>
<template src="./ImportAccount.html"></template>

<script lang="ts">
import Vue from 'vue'
Expand All @@ -13,7 +13,7 @@ declare module 'vue/types/vue' {
}
export default Vue.extend({
name: 'InputAccountScreen',
name: 'ImportAccountScreen',
components: {
PlusCircleIcon,
},
Expand Down Expand Up @@ -68,4 +68,4 @@ export default Vue.extend({
})
</script>

<style lang="less" scoped src="./InputAccount.less"></style>
<style lang="less" scoped src="./ImportAccount.less"></style>
23 changes: 10 additions & 13 deletions pages/setup/disclaimer/Disclaimer.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,16 @@
justify-content: center;
}
@media only screen and (max-width: @mobile-breakpoint) {
.disclaimer-body {
margin-top: @normal-spacing;
}
.buttons {
button {
margin-top: @light-spacing;
width: @full !important;
}
display: inline-block;
margin-top: auto;
justify-self: flex-end;
&:nth-child(2) {
margin-bottom: @normal-spacing;
.container {
.buttons {
button {
margin-top: @light-spacing;
width: @full !important;
}
display: inline-block;
margin-top: auto;
justify-self: flex-end;
}
padding: 0 @normal-spacing;
}
}
2 changes: 1 addition & 1 deletion pages/setup/disclaimer/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default Vue.extend({
this.$router.push('privacy')
},
importAccount() {
this.$router.push('inputAccount')
this.$router.push('importAccount')
},
},
})
Expand Down
1 change: 0 additions & 1 deletion pages/setup/privacy/Privacy.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
class="right"
type="primary"
:action="generateWallet"
size="small"
>
{{ $t('pages.privacy.continue') }}
</InteractablesButton>
Expand Down
2 changes: 0 additions & 2 deletions pages/setup/privacy/Privacy.less
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
flex-direction: column;
align-self: flex-start;
}
height: @full;
padding-top: @normal-spacing;
justify-content: flex-start;
margin: 0;
padding: 0;
Expand Down

0 comments on commit eac41f0

Please sign in to comment.