docbrown/app/views/admin/feedback_messages/_style.html.erb
Daniel Uber f2a8cbce7e
Remove "connect" feedback message special treatment (#16167)
* Remove special handling of "connect" feedback by name

The special casing was related to "connect" feedback having both a
reporter and an offender. Check for offender instead.

Additionally, there was special casing in the controller to rate-limit
connect feedback separately from other channels. Since connect doesn't
exist, we should not need this.

There's a small bit of functionality (when I post to feedback_messages, the
number of feedback messages increases) that was removed from the test
case, we can add that back (and "connect" type, and
offender_id attributes) since it looks like it might have been a
useful assertion.

* Add back feedback message controller creates feedback message case

This was removed in the last commit because it was in a "connect" chat
channel context, but the basic "should persist a record" test was
otherwise valid. Submit an abuse-report rather than a connect message
report.

* typo

feeedback, woops.
2022-01-19 08:32:10 -06:00

36 lines
564 B
Text

<style>
.notefield {
width: 100%;
resize: none;
font-size: 18px;
height: 50px;
border-radius: 3px;
padding: 5px;
margin: 10px 0px;
}
.email__container {
border: 1px solid gray;
margin: 10px;
padding-left: 50px;
padding-top: 5px;
}
.to__subject {
margin: 5px;
font-size: 20px;
color: black;
text-align: center;
}
.reported__message {
border: 1px solid;
margin: 20px auto;
padding: 20px;
max-height: 300px;
overflow: scroll;
}
.report__tags{
display: grid;
justify-items: end;
}
</style>