Extension Sidebar Button: Prevent button to have stretched background (#103882)

This commit is contained in:
Sven Grossmann
2025-04-11 14:18:46 +01:00
committed by GitHub
parent 88391b173e
commit e7b32d6229
@@ -87,6 +87,9 @@ export function ExtensionToolbarItem() {
function getStyles(theme: GrafanaTheme2) {
return {
button: css({
// this is needed because with certain breakpoints the button will get `width: auto`
// and the icon will stretch
aspectRatio: '1 / 1 !important',
width: '28px',
height: '28px',
padding: 0,