Skip to content

Commit

Permalink
working
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-bao committed Oct 3, 2022
1 parent 47105b8 commit f5c33e1
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 76 deletions.
3 changes: 2 additions & 1 deletion src/modules/nestedMenu/components/nestedMenu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ $focusedBg: rgb(44, 102, 147);

.nestedMenu {
::-webkit-scrollbar {
width: 8px;
width: 9px;
height: 9px;
}
::-webkit-scrollbar-track {
background: $hoverBg;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function NestedSubMenu2({menuJson, order}:{menuJson:NestedMenuContent,ord
</Item>)}
</div>
{windowCss&&<style>{`#${id}{${windowCss}}`}</style>}
{windowCss&&<div>{`#${id}{${windowCss}}`}</div>}
{/*{windowCss&&<div>{`#${id}{${windowCss}}`}</div>}*/}
{selectedKey&&<NestedSubMenu2 menuJson={menuJson[selectedKey] as NestedMenuContent} order={order+1}/>}
</>
}
35 changes: 0 additions & 35 deletions src/modules/shared/components/LoggedOutMessage.tsx

This file was deleted.

35 changes: 0 additions & 35 deletions src/modules/shared/models/mechanism.model.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions src/modules/shared/services/makeId.service.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/test/nestedMenu/08.nestedSubMenuStyle.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let widgetContent:string = readFileSync(`${__dirname}/serverResponseSubMenuCss.h

const checkStyle = (selector:string,property:string,value:string)=>expect(getComputedStyle(document.querySelector(selector) as HTMLElement)[property]).toEqual(value)

test('7 > Nested sub-menu style',async ()=>{
test('8 > Nested sub-menu style',async ()=>{
initServerSettings({
superUserOnly: false,
isSuperAdmin: true,
Expand Down

0 comments on commit f5c33e1

Please sign in to comment.