Skip to content

Commit c26f81f

Browse files
committed
fixed icons paddings on verticalicons
plugin manager selection fix
1 parent 1c88c6d commit c26f81f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
173173
_paq.push(['trackEvent', 'pluginManager', 'userActivate', 'sourcify'])
174174
}
175175
const startPluginManager = async () => {
176-
await plugin.appManager.activatePlugin('pluginManager')
177176
plugin.verticalIcons.select('pluginManager')
178177
}
179178

libs/remix-ui/vertical-icons-panel/src/lib/components/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ interface HomeProps {
77
function Home ({ verticalIconPlugin }: HomeProps) {
88
return (
99
<div
10-
className="mt-3 my-1 remixui_homeIcon"
10+
className="mt-2 my-1 remixui_homeIcon"
1111
onClick={async () => await verticalIconPlugin.activateHome()}
1212
{...{ plugin: 'home'}}
1313
title="Home"

libs/remix-ui/vertical-icons-panel/src/lib/components/Icon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const Icon = ({
8585
return (
8686
<>
8787
<div
88-
className={`remixui_icon m-2 pl-1`}
88+
className={`remixui_icon m-2`}
8989
onClick={() => {
9090
(verticalIconPlugin as any).toggle(name)
9191
}}

libs/remix-ui/vertical-icons-panel/src/lib/remix-ui-vertical-icons-panel.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
flex-flow: column nowrap;
2020
justify-content: space-between;
2121
align-items: center;
22+
text-align: center;
2223
}
2324
.remixui_icon:hover {
2425
box-shadow: 0px 0px 14px -7px;

libs/remix-ui/vertical-icons-panel/src/lib/remix-ui-vertical-icons-panel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const RemixUiVerticalIconsPanel = ({
9090
<Chevron
9191
direction='up'
9292
divElementRef={scrollableRef}
93-
cssRule={'fa fa-chevron-up remixui_icon-chevron mt-0 mb-0 ml-1 pl-3'}
93+
cssRule={'fa fa-chevron-up remixui_icon-chevron my-0'}
9494
/>
9595
) : null
9696
}
@@ -113,7 +113,7 @@ const RemixUiVerticalIconsPanel = ({
113113
{ scrollableRef.current && scrollableRef.current.scrollHeight > scrollableRef.current.clientHeight ? (<Chevron
114114
divElementRef={scrollableRef}
115115
direction='down'
116-
cssRule={'fa fa-chevron-down remixui_icon-chevron mt-0 mb-0 ml-1 pl-3'}
116+
cssRule={'fa fa-chevron-down remixui_icon-chevron my-0'}
117117
/>) : null }
118118
<IconList
119119
theme={theme}

0 commit comments

Comments
 (0)