gotify / gotify/server

Add CSS on code blocks

Open
#816 1 comment 0 reactions 0 assignees View on GitHub
a:feature in:ui
Dominant language
Go
Stars
15.9k
Forks
873
Avg merge
2d 22h
Merged PRs (30d)
6

Description

**Is your feature request related to a problem? Please describe.**
Add some CSS to the `code {}` selector
to have it looking more like a code block.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
Fast example, feel free to fine tune according to taste.
```
code {
display: inline-flex;
background-color: rgb(0 0 0 / 25%);
color: #ededed;
padding: 0.1em 0.25em;
font-size: 0.90em;
border-radius: 0.25em;
word-break: break-word;
white-space: pre-wrap;
margin: 1px 0 1px 0;
}

```

**Additional context**

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.