diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..fb57da5f8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,24 @@ +--- +name: Bug report +about: Create a report to help us improve labrinth +title: '' +labels: bug +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..e301d68ce --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: feature request +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/assets/styles/components.scss b/assets/styles/components.scss index a4000bc1a..801aa9a09 100644 --- a/assets/styles/components.scss +++ b/assets/styles/components.scss @@ -239,7 +239,10 @@ align-items: center; padding: 0.5rem 0.25rem 0.2rem; margin: auto 0.5rem; - border-bottom: 3px solid transparent; + + span { + border-bottom: 3px solid transparent; + } svg { width: 1rem; @@ -249,13 +252,19 @@ &:hover, &:focus { - border-bottom: 3px solid var(--color-brand-disabled); color: var(--color-text-medium); + + span { + border-bottom: 3px solid var(--color-brand-disabled); + } } &.nuxt-link-exact-active { - border-bottom: 3px solid var(--color-brand); color: var(--color-text-dark); + + span { + border-bottom: 3px solid var(--color-brand); + } } } @@ -300,7 +309,10 @@ .sidebar-l { @extend .sidebar; - margin-right: var(--spacing-card-lg); + + @media screen and (min-width: 1024px) { + margin-right: var(--spacing-card-lg); + } } .sidebar-r { @@ -420,6 +432,53 @@ } } +label { + display: flex; + flex-direction: column; + + @media screen and (min-width: 1024px) { + flex-direction: row; + } + + span { + flex: 2; + padding-right: var(--spacing-card-lg); + } + + input, + .multiselect, + .input-group { + flex: 3; + height: fit-content; + } + + input[type='button'] { + height: fit-content; + flex: 1; + } + input[type='button']:hover { + cursor: pointer; + } + + div, + a { + height: fit-content; + flex: 1; + } + div:hover { + cursor: pointer; + } +} + +.input-group { + display: flex; + flex-direction: column; + + * { + margin-bottom: var(--spacing-card-sm); + } +} + .switch { -webkit-appearance: none; -moz-appearance: none; diff --git a/assets/styles/layout.scss b/assets/styles/layout.scss index 53996c947..2c07d72cc 100644 --- a/assets/styles/layout.scss +++ b/assets/styles/layout.scss @@ -22,16 +22,15 @@ margin: var(--spacing-card-lg); .page-contents { display: flex; - flex-direction: row; + flex-direction: column; .content { width: 100%; } - @media screen and (min-width: 900px) { - } @media screen and (min-width: 1024px) { + flex-direction: row; max-width: 1280px; margin-left: auto; margin-right: auto; } } -} \ No newline at end of file +} diff --git a/components/ads/CookieConsent.vue b/components/ads/CookieConsent.vue index c73279fe9..e9c939e73 100644 --- a/components/ads/CookieConsent.vue +++ b/components/ads/CookieConsent.vue @@ -45,6 +45,8 @@ export default { this.$store.commit('consent/add_scope', true) this.$store.commit('consent/remove_scope', true) this.$store.dispatch('consent/save', this.$cookies) + + this.shown = false }, review() { this.shown = false @@ -56,25 +58,43 @@ export default { diff --git a/components/layout/MFooter.vue b/components/layout/MFooter.vue index 97a847444..cd0f94eac 100644 --- a/components/layout/MFooter.vue +++ b/components/layout/MFooter.vue @@ -1,5 +1,5 @@