+
-
![]({legendItem.url})
-
+
![]({legendItem.url})
+ {/*
*/}
);
})
@@ -247,6 +255,13 @@ export class WMSLegend extends Control {
const getStyles = (theme: GrafanaTheme2) => {
return {
+ legendImg: css({
+ // borderBottom: `${theme.colors.border.strong} 1px solid`,
+ // paddingBottom: "4px"
+ // width: "100%"
+ maxWidth: "100%", // https://www.w3schools.com/css/css_rwd_images.asp
+ height: "auto"
+ }),
basemapLegend_hidden: css`
display: hidden;
`,