Unverified Commit c2161fd0 authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #1304 from hypothesis/remove-focus-mode-x-button

Remove "X" icon from toggle button in focus mode
parents 47630349 20be7b08
...@@ -4,8 +4,6 @@ const { createElement } = require('preact'); ...@@ -4,8 +4,6 @@ const { createElement } = require('preact');
const useStore = require('../store/use-store'); const useStore = require('../store/use-store');
const SvgIcon = require('./svg-icon');
/** /**
* Render a control to interact with any focused "mode" in the sidebar. * Render a control to interact with any focused "mode" in the sidebar.
* Currently only a user-focus mode is supported but this could be broadened * Currently only a user-focus mode is supported but this could be broadened
...@@ -55,7 +53,6 @@ function FocusedModeHeader() { ...@@ -55,7 +53,6 @@ function FocusedModeHeader() {
<div className="focused-mode-header sheet"> <div className="focused-mode-header sheet">
{filterStatus} {filterStatus}
<button onClick={toggleFocusedMode} className="focused-mode-header__btn"> <button onClick={toggleFocusedMode} className="focused-mode-header__btn">
<SvgIcon name="cancel" className="focused-mode-header__btn-icon" />
{buttonText} {buttonText}
</button> </button>
</div> </div>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
display: flex; display: flex;
margin-left: auto; margin-left: auto;
height: 30px; height: 30px;
padding-left: 6px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
background-color: $grey-2; background-color: $grey-2;
color: $grey-5; color: $grey-5;
...@@ -19,10 +19,6 @@ ...@@ -19,10 +19,6 @@
} }
} }
&__btn-icon {
margin-right: 3px;
}
&__filter-status { &__filter-status {
font-weight: 400; font-weight: 400;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment