Skip to content

Commit ed5e709

Browse files
committed
fix form design
1 parent 9fcfe8d commit ed5e709

1 file changed

Lines changed: 47 additions & 28 deletions

File tree

src/components/Pages/complaint.vue

Lines changed: 47 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<template>
22
<v-main>
3-
<v-responsive max-width="840px" min-width="250px" >
3+
<v-responsive max-width="600px" min-width="250px" >
44
<p id="titleReportIllegalContent">Reporting illegal content</p>
5-
<p>Please use this form to report any content that you consider to be illegal. After sending the email,<br/>
6-
which is generated by clicking the ‘Report illegal content’ button, your report will be delivered to<br/>
7-
us and handled in accordance with Regulation (EU) 2022/2065, Article 16 (‘Digital Services Act’).<br/>
8-
If you supply an email, you will then automatically receive a confirmation of receipt and, as soon<br/>
9-
as we have processed your report, we will inform you of any action taken. Please be aware that<br/>
10-
no feedback will be provided on the action taken if the report is deemed abusive (e.g. spam or<br/>
5+
<p id="pageContent">Please use this form to report any content that you consider to be illegal. After sending the email,
6+
which is generated by clicking the ‘Report illegal content’ button, your report will be delivered to
7+
us and handled in accordance with Regulation (EU) 2022/2065, Article 16 (‘Digital Services Act’).
8+
If you supply an email, you will then automatically receive a confirmation of receipt and, as soon
9+
as we have processed your report, we will inform you of any action taken. Please be aware that
10+
no feedback will be provided on the action taken if the report is deemed abusive (e.g. spam or
1111
unfounded report). In the event of repeated abusive use, we reserve the right to block you.</p>
12-
<v-responsive max-width="512px">
13-
<v-form ref="form" v-model="isvalid" v-on:submit.prevent>
12+
<v-form ref="form" v-model="isvalid" v-on:submit.prevent>
13+
<v-responsive max-width="519px">
1414
<v-textarea
1515
id="contentURL"
1616
v-model="contenturl"
17-
:rules="[v => v.length <= 300 || 'Max 300 characters', () => !!contenturl || 'This field is required']"
17+
:rules="[() => !!contenturl || 'This field is required']"
1818
label="URL(s) for the content in question"
1919
required
2020
/>
@@ -24,7 +24,7 @@
2424
id="inputMessage"
2525
counter="10000"
2626
v-model="message"
27-
:rules="[v => v.length <= 10000 || 'Message must be 10000 characters or less', () => !!message || 'This field is required']"
27+
:rules="[v => v.length <= 1000 || 'Message must be 1000 characters or less', () => !!message || 'This field is required']"
2828
auto-grow
2929
label="Reason why the information in question is illegal content"
3030
required
@@ -42,27 +42,26 @@
4242
id="contactemail"
4343
v-model="email"
4444
:rules="[v => v.length <= 300 || 'Max 300 characters']"
45-
label="Your email (optional)"
45+
label="Email address (optional)"
4646
persistent-hint
4747
hint ="Receiving a confirmation receipt and updates requires an email"
4848
/>
49-
<v-checkbox
50-
label="I am convinced in good faith that the information and statements contained in
51-
the report are correct and complete."
52-
v-model="accepted"
53-
:rules="[() => !!accepted || '']"
54-
required
55-
56-
/>
49+
</v-responsive>
50+
<v-checkbox
51+
label="I am convinced in good faith that the information and statements contained in
52+
the report are correct and complete."
53+
v-model="accepted"
54+
:rules="[() => !!accepted || '']"
55+
required
56+
/>
5757

5858

59-
<div align="right">
60-
<v-btn color="primary" @click="send" class="mt-6">
61-
Report illegal content
62-
</v-btn>
63-
</div>
64-
</v-form>
65-
</v-responsive>
59+
<div align="right">
60+
<v-btn color="primary" @click="send" class="mt-6">
61+
Report illegal content
62+
</v-btn>
63+
</div>
64+
</v-form>
6665
<v-snackbar color="success" elevation="24" v-model="successMessage">
6766
Report successfully submitted. Thanks!
6867
<template v-slot:action>
@@ -113,7 +112,7 @@ export default {
113112
const message = this.message
114113
const name = this.name
115114
const email = this.email
116-
this.$api.reportIllegalContent(
115+
this.$api.complaint(
117116
{
118117
name: name,
119118
url: url,
@@ -165,6 +164,26 @@ export default {
165164
</script>
166165

167166
<style>
167+
.formfields{
168+
color: var(--black-087, rgba(0, 0, 0, 0.87));
169+
170+
/* v-text/body-1 */
171+
font-family: Roboto;
172+
font-size: 16px;
173+
font-style: normal;
174+
font-weight: 400;
175+
line-height: 24px; /* 150% */
176+
letter-spacing: 0.5px;
177+
}
178+
#pageContent{
179+
color: #000;
180+
font-feature-settings: 'liga' off, 'clig' off;
181+
font-family: Lato;
182+
font-size: 14px;
183+
font-style: normal;
184+
font-weight: 600;
185+
line-height: 24px; /* 171.429% */
186+
}
168187
#titleReportIllegalContent{
169188
align-self: stretch;
170189
color: #000;

0 commit comments

Comments
 (0)