Commit Graph
2 Commits
Author SHA1 Message Date
Jack Franklin 56b5505380 Fix NodeText CSS fallback values
Fallbacks given to var() need to be wrapped in var themselves if they
are variables, else the browser will try to apply the literal string
`--devtools-whatever` as the value.

Bug: none
Change-Id: I2a9287b7e41ccdd23057044355f16b4336bca98e
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3735063
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Andres Olivares <andoli@chromium.org>
Commit-Queue: Andres Olivares <andoli@chromium.org>
2022-06-29 13:44:26 +00:00
Jack Franklin c7e0c87bc5 Move NodeText into ui/components
It was in panels/elements but it's a useful component that can be used
anywhere where we want to link to an element, so I've pulled it out into
ui/components so it can be depended on from across the frontend.

Bug: none
Change-Id: I4ca4192237ad2e360028f014589545404a1145eb
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3707813
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Andres Olivares <andoli@chromium.org>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Andres Olivares <andoli@chromium.org>
2022-06-16 14:08:49 +00:00