Skip to content

Commit

Permalink
refactor(settings): move style
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwoodland committed May 19, 2022
1 parent 156da08 commit 888124b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
24 changes: 24 additions & 0 deletions components/views/settings/modal/Modal.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
#settings {
width: calc(100vw - 96px);
height: calc(100vh - 96px);
max-width: 1528px;
max-height: 888px;
margin: auto;
}

#settings.is-collapsed
> div.sidebar.is-secondary-background
> section
> div.aside-menu.hidden-scroll
> svg {
right: 0.9rem !important;
}

#settings.is-collapsed
> div.sidebar.is-secondary-background
> section
> div.aside-menu.hidden-scroll
> aside {
display: none;
}

p {
font-family: @secondary-font;
font-size: 16px;
Expand Down
23 changes: 0 additions & 23 deletions components/views/settings/modal/Modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,26 +112,3 @@ export default Vue.extend({
</script>

<style scoped lang="less" src="./Modal.less"></style>
<style lang="less">
#settings {
width: calc(100vw - 96px);
height: calc(100vh - 96px);
max-width: 1528px;
max-height: 888px;
margin: auto;
}
#settings.is-collapsed
> div.sidebar.is-secondary-background
> section
> div.aside-menu.hidden-scroll
> svg {
right: 0.9rem !important;
}
#settings.is-collapsed
> div.sidebar.is-secondary-background
> section
> div.aside-menu.hidden-scroll
> aside {
display: none;
}
</style>

0 comments on commit 888124b

Please sign in to comment.