mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -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}
|
||||
</Anchor>
|
||||
{params.length > 0 && (
|
||||
<Group gap="xs" my="md">
|
||||
<Group gap="xs" mt="md">
|
||||
{params.map(([labelName, labelValue]: [string, string]) => {
|
||||
return (
|
||||
<Badge
|
||||
size="sm"
|
||||
variant="light"
|
||||
color="gray.9"
|
||||
color="gray"
|
||||
key={`${labelName}/${labelValue}`}
|
||||
style={{ textTransform: "none" }}
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue