Merge pull request #2180 from ethereum/swapPanelHeight

fixed swapPanel height
pull/3094/head
Liana Husikyan 5 years ago committed by GitHub
commit f62431a9c2
  1. 2
      src/app.js
  2. 10
      src/app/components/side-panel.js
  3. 1
      src/app/panels/styles/terminal-styles.js
  4. 3
      src/app/tabs/styles/run-tab-styles.js

@ -94,8 +94,6 @@ var css = csjs`
top : 0; top : 0;
left : 50px; left : 50px;
bottom : 0; bottom : 0;
overflow : hidden;
overflow-y : auto;
} }
.highlightcode { .highlightcode {
position:absolute; position:absolute;

@ -6,7 +6,8 @@ const yo = require('yo-yo')
const css = csjs` const css = csjs`
.panel { .panel {
height: 100%; height: 100%;
overflow-y: hidden; display: flex;
flex-direction: column;
} }
.swapitTitle { .swapitTitle {
margin: 0; margin: 0;
@ -21,7 +22,7 @@ const css = csjs`
} }
.swapitHeader { .swapitHeader {
height: 35px; height: 35px;
padding: 0 20px; padding: 15px 20px;
display: flex; display: flex;
align-items: center; align-items: center;
} }
@ -30,8 +31,9 @@ const css = csjs`
cursor: pointer; cursor: pointer;
} }
.pluginsContainer { .pluginsContainer {
height: calc(100% - 35px); height: 100%;
overflow: auto; flex: 1;
padding-bottom: 40px;
} }
.titleInfo { .titleInfo {
padding-left: 10px; padding-left: 10px;

@ -7,7 +7,6 @@ var css = csjs`
flex-direction : column; flex-direction : column;
font-size : 12px; font-size : 12px;
min-height : 3em; min-height : 3em;
overflow : hidden;
} }
.bar { .bar {
display : flex; display : flex;

@ -8,11 +8,12 @@ var css = csjs`
} }
.instanceContainerTitle { .instanceContainerTitle {
font-weight: bold; font-weight: bold;
margin-bottom: 5%; margin-bottom: 25px;
font-size: 12px; font-size: 12px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
padding-left: 15px; padding-left: 15px;
height: 0px;
} }
.settings { .settings {
margin-bottom: 2%; margin-bottom: 2%;

Loading…
Cancel
Save