Web: fixed info-panel icon

This commit is contained in:
Nikita Gopienko 2022-04-11 11:11:44 +03:00
parent 952996f534
commit 002a432b4d
5 changed files with 7 additions and 5 deletions

View File

@ -135,7 +135,7 @@ const ControlButtons = ({
<div className="info-panel-toggle-bg">
<IconButton
className="info-panel-toggle"
iconName="images/panel.svg"
iconName="images/panel.react.svg"
size="16"
isFill={true}
onClick={toggleInfoPanel}

View File

@ -157,6 +157,8 @@ const StyledInfoPanelToggleWrapper = styled.div`
? props.theme.infoPanel.sectionHeaderToggleIconActive
: props.theme.infoPanel.sectionHeaderToggleIcon};
}
margin-bottom: 1px;
}
`;
StyledInfoPanelToggleWrapper.defaultProps = { theme: Base };

View File

@ -62,7 +62,7 @@ const TableGroupMenu = (props) => {
<div className="info-panel-toggle-bg">
<IconButton
className="info-panel-toggle"
iconName="images/panel.svg"
iconName="images/panel.react.svg"
size="16"
isFill={true}
onClick={toggleInfoPanel}

View File

@ -0,0 +1,3 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 3.5C0 2.67157 0.671573 2 1.5 2H14.5C15.3284 2 16 2.67157 16 3.5V12.5C16 13.3284 15.3284 14 14.5 14H1.5C0.671573 14 0 13.3284 0 12.5V3.5ZM2 5C2 4.44772 2.44772 4 3 4H9V12H3C2.44772 12 2 11.5523 2 11V5ZM11 12H13C13.5523 12 14 11.5523 14 11V5C14 4.44772 13.5523 4 13 4H11V12Z" fill="#A3A9AE"/>
</svg>

After

Width:  |  Height:  |  Size: 446 B

View File

@ -1,3 +0,0 @@
<svg width="17" height="15" viewBox="0 0 17 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.5 2.5H13.5C14.0523 2.5 14.5 2.94772 14.5 3.5V11.5C14.5 12.0523 14.0523 12.5 13.5 12.5H11.5V2.5ZM9 2.5H3.5C2.94772 2.5 2.5 2.94772 2.5 3.5V11.5C2.5 12.0523 2.94772 12.5 3.5 12.5H9V2.5ZM17 1.5C17 0.671573 16.3284 0 15.5 0H14.5H2.5H1.5C0.671573 0 0 0.671573 0 1.5V2.88462V12.1154V13.5C0 14.3284 0.671573 15 1.5 15H2.5H14.5H15.5C16.3284 15 17 14.3284 17 13.5V12.1154V2.88462V1.5Z" fill="#A3A9AE"/>
</svg>

Before

Width:  |  Height:  |  Size: 550 B