diff --git a/src/components/controls/panel-layout.js b/src/components/controls/panel-layout.js index c2cf1ead5..4284a9d2c 100644 --- a/src/components/controls/panel-layout.js +++ b/src/components/controls/panel-layout.js @@ -8,9 +8,9 @@ import { analyticsControlsEvent } from "../../util/googleAnalytics"; import { SidebarButton } from "./styles"; const ButtonText = styled.span` - margin: 5px; - position: relative; - top: -1px; + margin-left: 10px; + padding-bottom: 15px; + vertical-align: middle; `; const PanelsFullIcon = withTheme(icons.PanelsFull); @@ -26,8 +26,7 @@ class PanelLayouts extends React.Component { const { t } = this.props; return ( -
- +
{ @@ -35,10 +34,10 @@ class PanelLayouts extends React.Component { this.props.dispatch({ type: CHANGE_PANEL_LAYOUT, data: "full" }); }} > + {t("sidebar:full")} - { @@ -46,9 +45,9 @@ class PanelLayouts extends React.Component { this.props.dispatch({ type: CHANGE_PANEL_LAYOUT, data: "grid" }); }} > + {t("sidebar:grid")} -
); }