diff --git a/CHANGELOG.md b/CHANGELOG.md index 75d05fa8d..20ce4a662 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +* Bugfix: Clicking on the icons for FULL and GRID layout now changes the layout, just like clicking on the text ([#1911](https://github.com/nextstrain/auspice/issues/1911)) + ## version 2.61.2 - 2024/11/19 diff --git a/src/components/controls/panel-layout.js b/src/components/controls/panel-layout.js index c2cf1ead5..4d7444d6d 100644 --- a/src/components/controls/panel-layout.js +++ b/src/components/controls/panel-layout.js @@ -10,7 +10,8 @@ import { SidebarButton } from "./styles"; const ButtonText = styled.span` margin: 5px; position: relative; - top: -1px; + left: 4px; + top: -6px; `; const PanelsFullIcon = withTheme(icons.PanelsFull); @@ -27,7 +28,6 @@ class PanelLayouts extends React.Component { return (