-
Notifications
You must be signed in to change notification settings - Fork 8
Fix heading level on Contact page (T401820) #1025
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| <template> | ||
| <v-main> | ||
| <v-responsive max-width="840px" min-width="250px" > | ||
| <h1>Get in touch with the team</h1> | ||
| <h4 class="page-heading">Get in touch with the team</h4> | ||
| <p>Thank you for your interest. We want to hear what you've got to say.</p> | ||
| <p>Have you got a question? First, check our <a href="https://www.mediawiki.org/wiki/Wikibase/Wikibase.cloud/FAQ" target="_blank">FAQ</a> to see if we've already answered it. We're constantly updating it with new questions. If you don't find an answer there, feel free to use the contact form below. Thanks!</p> | ||
| <p>Please note that despite our best efforts it can take up to two weeks to receive a response. Thank you for your patience.</p> | ||
|
|
@@ -24,7 +24,7 @@ | |
| hint="For example: email address, Telegram handle, phone number" | ||
| /> | ||
| <v-select | ||
| :items=items | ||
| :items="items" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For future reference, please keep changes in a PR focused on a single topic. Unrelated code quality or formatting fixes should be submitted separately, so changes are easier to review and track. As this is a small change and doesn't hinder the review, I'll let it slide! |
||
| v-model="subject" | ||
| label="What's the main reason for your message?" | ||
| :rules="[() => !!subject || 'This field is required']" | ||
|
|
@@ -150,5 +150,19 @@ export default { | |
| } | ||
| </script> | ||
|
|
||
| <style> | ||
| <style scoped> | ||
| .page-heading { | ||
| /* preserve visual weight of previous h1 — adjust values to match your site's design if needed */ | ||
| font-size: 28px; | ||
| font-weight: 500; | ||
| line-height: 1.2; | ||
| margin: 0 0 16px; | ||
| } | ||
|
|
||
| /* small-screen tweak to keep size reasonable on mobile */ | ||
| @media (max-width: 480px) { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure if this is a requirement UX has asked for, and I've not seen it elsewhere in the code base. |
||
| .page-heading { | ||
| font-size: 22px; | ||
| } | ||
| } | ||
| </style> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use the classes that come with Vuetify v2 where possible, rather than defining our own custom classes and CSS that we will have to maintain. See these relevant docs: