diff --git a/src/styles/components/_index.scss b/src/styles/components/_index.scss index 484395aae..ec89c6897 100644 --- a/src/styles/components/_index.scss +++ b/src/styles/components/_index.scss @@ -1,7 +1,6 @@ @import "tooltip"; @import "labels"; @import "list"; -@import "switch-view"; @import "task"; @import "taskRelations"; @import "tasks"; diff --git a/src/styles/components/switch-view.scss b/src/styles/components/switch-view.scss deleted file mode 100644 index 266143d6c..000000000 --- a/src/styles/components/switch-view.scss +++ /dev/null @@ -1,43 +0,0 @@ -.switch-view { - background: $white; - display: inline-flex; - border-radius: $radius; - font-size: .75rem; - box-shadow: $shadow-sm; - height: $switch-view-height; - margin-bottom: 1rem; - padding: .5rem; - - a { - padding: .25rem .5rem; - display: block; - border-radius: $radius; - - transition: all 100ms; - - &:not(:last-child) { - margin-right: .5rem; - } - - &.is-active, &:hover { - color: $white; - } - - &.is-active { - background: $primary; - font-weight: bold; - box-shadow: $shadow-xs; - } - - &:hover { - background: $primary; - } - } -} - -@media screen and (max-width: $tablet) { - .switch-view-container { - display: flex; - justify-content: center; - } -} diff --git a/src/views/list/ShowList.vue b/src/views/list/ShowList.vue index 4c72a04b0..cca9b3d52 100644 --- a/src/views/list/ShowList.vue +++ b/src/views/list/ShowList.vue @@ -150,6 +150,51 @@ export default {