saddle-finance / saddle-frontend

An open source UI for saddle.finance 🤠
https://saddle.exchange
54 stars 58 forks source link

Farm header zInex fix and prevent to close drawer when click account … #1142

Closed nkrulikovsky closed 2 years ago

nkrulikovsky commented 2 years ago

What does this PR do?

The zIndex on MUI is the following

const zIndex = {
  mobileStepper: 1000,
  speedDial: 1050,
  appBar: 1100,
  drawer: 1200,
  modal: 1300,
  snackbar: 1400,
  tooltip: 1500
};

As we can see above, theme.zIndex.mobileStepper-1 will be enough for FarmHeader.

Screenshot

Screen Shot 2022-06-27 at 9 37 28 AM

Screen Shot 2022-06-27 at 9 37 38 AM

codecov[bot] commented 2 years ago

Codecov Report

Merging #1142 (71169ab) into master (81af581) will not change coverage. The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #1142   +/-   ##
=======================================
  Coverage   10.17%   10.17%           
=======================================
  Files         154      154           
  Lines        5564     5564           
  Branches     1774     1774           
=======================================
  Hits          566      566           
  Misses       4996     4996           
  Partials        2        2           
Impacted Files Coverage Δ
src/components/TopMenu.tsx 0.00% <0.00%> (ø)
src/pages/Farm/Farm.tsx 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 81af581...71169ab. Read the comment docs.