add flexbox to vertical icons panel

pull/5370/head
Joseph Izang 3 years ago
parent 30879b2d50
commit aec5c01c09
  1. 2
      libs/remix-ui/vertical-icons-panel/src/lib/components/Settings.tsx
  2. 7
      libs/remix-ui/vertical-icons-panel/src/lib/remix-ui-vertical-icons-panel.css

@ -33,7 +33,7 @@ function Settings ({ scrollableRef, verticalIconsPlugin, itemContextAction, addA
}) })
}, []) }, [])
return ( return (
<div id="settingsIcons" className="remixui_settings flex-grow-0" data-id="vertialIconsSettingsIcons" ref={settingsRef}> <div id="settingsIcons" className="remixui_settings mb-0 flex-grow-0" data-id="vertialIconsSettingsIcons" ref={settingsRef}>
<Chevron <Chevron
divElementRef={scrollableRef} divElementRef={scrollableRef}
cssRule={'fa fa-chevron-down remixui_icon-chevron mt-0 mb-0 ml-1 pl-3'} cssRule={'fa fa-chevron-down remixui_icon-chevron mt-0 mb-0 ml-1 pl-3'}

@ -11,6 +11,10 @@
fill: var(--primary); fill: var(--primary);
} }
.remixui_icons { .remixui_icons {
display: flex;
flex-flow: column nowrap;
justify-content: space-between;
align-items: center;
} }
.remixui_icon { .remixui_icon {
cursor: pointer; cursor: pointer;
@ -35,7 +39,8 @@
padding: 4px; padding: 4px;
} }
.remixui_icon[title='Settings'] { .remixui_icon[title='Settings'] {
position: absolute; order: 5;
align-self: center;
bottom: 0; bottom: 0;
} }
.remixui_status { .remixui_status {

Loading…
Cancel
Save