Skip to content

Commit 048f0d1

Browse files
committed
Fix dropdown and status Bar
1 parent ed4d135 commit 048f0d1

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jderobot-ide-interface",
3-
"version": "0.1.80",
3+
"version": "0.1.81",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"files": [

src/components/Dropdown/Dropdown.styles.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@ export const StyledDropdown = styled.button<StyledDropdownProps>`
3030
left: ${(p) => p.left ?? 1}px;
3131
display: flex;
3232
position: absolute;
33-
z-index: 3;
33+
z-index: 300;
3434
flex-direction: column;
3535
background-color: ${(p) => p.bgColor ?? primaryColor};
3636
border: 1px black solid;
3737
${handleDown}
3838
3939
& button {
40+
height: 34px;
4041
border-radius: 0 !important;
4142
border-top-left-radius: 0px;
4243
border-top-right-radius: 0px;

src/components/Dropdown/Dropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export const DropdownStatusBar = ({
7676
hoverColor={theme.palette.secondary}
7777
roundness={theme.roundness}
7878
width={width}
79-
height={baseHeight + possibleValues.length * 28}
79+
height={baseHeight + possibleValues.length * 34}
8080
left={right}
8181
down={down}
8282
>

src/components/StatusBar/StatusBar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ const StatusBar = ({
110110
baseUniverse={baseUniverse}
111111
/>
112112
)}
113+
<div style={{"marginLeft": "auto"}}/>
113114
{extraComponents.extras.map((component: any) => {
114115
return component;
115116
})}

0 commit comments

Comments
 (0)