Skip to content

Commit b7eeee7

Browse files
committed
icon size and alignment
1 parent 0b02e42 commit b7eeee7

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

libs/remix-ui/panel/src/lib/plugins/panel-header.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const RemixUIPanelHeader = (props: RemixPanelProps) => {
4949

5050
return (
5151
<header className="d-flex flex-column">
52-
<div className="swapitHeader px-3 pt-2 pb-0 d-flex flex-row">
52+
<div className="swapitHeader ps-3 pe-2 pt-2 pb-0 d-flex flex-row">
5353
<h6 className="pt-0 mb-1" data-id="sidePanelSwapitTitle">
5454
{plugin?.profile?.name && <FormattedMessage id={`${plugin.profile.name}.displayName`} defaultMessage={plugin?.profile?.displayName || plugin?.profile?.name} />}
5555
</h6>
@@ -81,7 +81,7 @@ const RemixUIPanelHeader = (props: RemixPanelProps) => {
8181
<>
8282
<div className='d-flex' data-id="movePluginToLeft" data-pinnedplugin={`movePluginToLeft-${plugin.profile.name}`} onClick={unPinPlugin}>
8383
<CustomTooltip placement="auto-end" tooltipId="unPinnedMsg" tooltipClasses="text-nowrap" tooltipText={<FormattedMessage id="panel.unPinnedMsg" />}>
84-
<div className="codicon codicon-layout-sidebar-left-dock ms-2 fs-5 fw-bold"></div>
84+
<div className="codicon codicon-layout-sidebar-left-dock ms-2 fs-6 fw-bold lh-1" style={{marginTop: '2px'}}></div>
8585
</CustomTooltip>
8686
</div>
8787
<CustomTooltip placement="bottom-end" tooltipText="Hide Panel">
@@ -96,7 +96,7 @@ const RemixUIPanelHeader = (props: RemixPanelProps) => {
9696
<RenderIfNot condition={plugin.pinned}>
9797
<div className='d-flex' data-id="movePluginToRight" data-pinnedplugin={`movePluginToRight-${plugin.profile.name}`} onClick={pinPlugin}>
9898
<CustomTooltip placement="auto-end" tooltipId="pinnedMsg" tooltipClasses="text-nowrap" tooltipText={<FormattedMessage id="panel.pinnedMsg" />}>
99-
<div className="codicon codicon-layout-sidebar-right-dock ms-2 fs-5 fw-bold"></div>
99+
<div className="codicon codicon-layout-sidebar-right-dock ms-2 fs-6 fw-bold lh-1" style={{marginTop: '2px'}}></div>
100100
</CustomTooltip>
101101
</div>
102102
</RenderIfNot>

libs/remix-ui/top-bar/src/lib/remix-ui-topbar.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -585,24 +585,24 @@ export function RemixUiTopbar() {
585585
connectToLocalhost={() => switchWorkspace(LOCALHOST)}
586586
openTemplateExplorer={openTemplateExplorer}
587587
/>
588-
<div className="d-flex ms-4 gap-3 align-items-center" >
588+
<div className="d-flex ms-4 gap-2 align-items-center" >
589589
<CustomTooltip placement="bottom-start" tooltipText={`Toggle Left Side Panel`}>
590590
<div
591-
className={`codicon codicon-layout-sidebar-left${leftPanelHidden ? '-off' : ''} fs-4`}
591+
className={`codicon codicon-layout-sidebar-left${leftPanelHidden ? '-off' : ''} fs-5`}
592592
data-id="toggleLeftSidePanelIcon"
593593
onClick={() => plugin.call('sidePanel', 'togglePanel')}
594594
></div>
595595
</CustomTooltip>
596596
<CustomTooltip placement="bottom-start" tooltipText={`Toggle Bottom Panel`}>
597597
<div
598-
className={`codicon codicon-layout-panel${bottomPanelHidden ? '-off' : ''} fs-4`}
598+
className={`codicon codicon-layout-panel${bottomPanelHidden ? '-off' : ''} fs-5`}
599599
data-id="toggleBottomPanelIcon"
600600
onClick={() => plugin.call('terminal', 'togglePanel')}
601601
></div>
602602
</CustomTooltip>
603603
<CustomTooltip placement="bottom-start" tooltipText={`Toggle Right Side Panel`}>
604604
<div
605-
className={`codicon codicon-layout-sidebar-right${rightPanelHidden ? '-off' : ''} fs-4`}
605+
className={`codicon codicon-layout-sidebar-right${rightPanelHidden ? '-off' : ''} fs-5`}
606606
data-id="toggleRightSidePanelIcon"
607607
onClick={() => plugin.call('rightSidePanel', 'togglePanel')}
608608
></div>

0 commit comments

Comments
 (0)