Skip to content

Commit 344634d

Browse files
committed
[style] Fix contrib/issues list and alert styling
1 parent 7b5ea4d commit 344634d

File tree

1 file changed

+31
-17
lines changed

1 file changed

+31
-17
lines changed

content/en/docs/contributing/issues.md

+31-17
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,47 @@ _issue: https://github.com/open-telemetry/opentelemetry.io/issues?q=is%3Aissue+i
99
cSpell:ignore: prepopulated
1010
---
1111

12+
<style>
13+
/* Force all list to be compact. */
14+
li > p {
15+
margin-bottom: 0;
16+
}
17+
18+
/* Style "first time" alert */
19+
.alert--first-timer {
20+
margin: 0.5rem 0 !important;
21+
22+
> blockquote {
23+
margin-top: 1rem;
24+
margin-bottom: 0;
25+
border-left-color: var(--bs-warning);
26+
background-color: var(--bs-danger-bg-subtle);
27+
> *:last-child {
28+
margin-bottom: 0;
29+
}
30+
}
31+
}
32+
</style>
33+
1234
## Fixing an existing issue
1335

1436
One of the best ways to help make OTel docs better is to fix an existing issue.
1537

1638
1. Browse through the list of [issues]({{% param _issues %}}).
1739
2. Select an issue that you would like to work on, ideally one that you can fix
18-
in a short amount of time.
19-
20-
<!-- prettier-ignore -->
21-
<a name="first-issue"></a>
22-
{{% alert title="First time contributing? " %}}
40+
in a short amount of time. <a name="first-issue"></a>
41+
{{% alert title="First time contributing?" color="primary alert--first-timer" %}}
2342

2443
Select an issue with the following labels:
2544

26-
- [Good first issue]
27-
- [Help wanted]
28-
29-
<!-- prettier-ignore -->
30-
> **NOTE**: we **_do not_ assign issues** to those who
31-
> have not already made contributions to the [OpenTelemetry
32-
> organization][org], unless part of a mentorship or onboarding
33-
> process.
34-
{.mt-3}
45+
- [Good first issue](<{{% param _issue %}}%22good+first+issue%22>)
46+
- [Help wanted](<{{% param _issue %}}%3A%22help+wanted%22>)
3547

36-
[good first issue]: <{{% param _issue %}}%22good+first+issue%22>
37-
[help wanted]: <{{% param _issue %}}%3A%22help+wanted%22>
38-
[org]: https://github.com/open-telemetry
48+
> **NOTE**: we **_do not_ assign issues** to those who have not already made
49+
> contributions to the [OpenTelemetry organization][org], unless part of a
50+
> mentorship or onboarding process.
51+
>
52+
> [org]: https://github.com/open-telemetry
3953
4054
{{% /alert %}}
4155

0 commit comments

Comments
 (0)