mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 17:02:20 +08:00
Table panel: Use link elements instead of div elements with on click events to aid with keyboard accessibility (#59393)
* TablePanel: fix image of image cell overflowing table cell when a data link is added
This commit is contained in:
@ -311,3 +311,18 @@ export const clearButtonStyles = (theme: GrafanaTheme2) => {
|
||||
padding: 0;
|
||||
`;
|
||||
};
|
||||
|
||||
export const clearLinkButtonStyles = (theme: GrafanaTheme2) => {
|
||||
return css`
|
||||
background: transparent;
|
||||
border: none;
|
||||
padding: 0;
|
||||
font-family: inherit;
|
||||
color: inherit;
|
||||
height: 100%;
|
||||
&:hover {
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
}
|
||||
`;
|
||||
};
|
||||
|
Reference in New Issue
Block a user