mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-13 16:07:56 +02:00
1. Fix the "flash message" layout problem for different cases * I am sure most of the users should have ever seen the ugly center-aligned error message with multiple lines. 2. Fix inconsistent "Details" flash message EOL handling, sometimes `\n`, sometimes `<br>` * Now, always use "\n" and use `<pre>` to render 3. Remove SanitizeHTML template func because it is not useful and can be easily abused. * But it is still kept for mail templates, for example: https://github.com/go-gitea/gitea/issues/36049 4. Clarify PostProcessCommitMessage's behavior and add FIXME comment By the way: cleaned up some devtest pages, move embedded style block to CSS file
21 lines
367 B
CSS
21 lines
367 B
CSS
h1, h2 {
|
|
margin: 0;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.button-sample-groups {
|
|
margin: 0; padding: 0;
|
|
}
|
|
|
|
.button-sample-groups .sample-group {
|
|
list-style: none; margin: 0; padding: 0;
|
|
}
|
|
|
|
.button-sample-groups .sample-group .ui.button {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.fetch-action-demo-forms .form-fetch-action {
|
|
border: 1px red dashed; /* show the border for demo purpose */
|
|
}
|