mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
Improve EndpointLink styling
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
5599db20cd
commit
857e59c8b6
|
@ -35,13 +35,13 @@ const EndpointLink: FC<EndpointLinkProps> = ({ endpoint, globalUrl }) => {
|
||||||
{displayLink}
|
{displayLink}
|
||||||
</Anchor>
|
</Anchor>
|
||||||
{params.length > 0 && (
|
{params.length > 0 && (
|
||||||
<Group gap="xs" my="md">
|
<Group gap="xs" mt="md">
|
||||||
{params.map(([labelName, labelValue]: [string, string]) => {
|
{params.map(([labelName, labelValue]: [string, string]) => {
|
||||||
return (
|
return (
|
||||||
<Badge
|
<Badge
|
||||||
size="sm"
|
size="sm"
|
||||||
variant="light"
|
variant="light"
|
||||||
color="gray.9"
|
color="gray"
|
||||||
key={`${labelName}/${labelValue}`}
|
key={`${labelName}/${labelValue}`}
|
||||||
style={{ textTransform: "none" }}
|
style={{ textTransform: "none" }}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue