Browse Source

Fix styles

master
Eugen Rochko 8 years ago
parent
commit
f7f3e6e3be
5 changed files with 7 additions and 7 deletions
  1. +0
    -2
      app/assets/javascripts/components/features/ui/components/column.jsx
  2. +0
    -1
      app/assets/javascripts/components/features/ui/components/columns_area.jsx
  3. +0
    -2
      app/assets/javascripts/components/features/ui/components/drawer.jsx
  4. +2
    -2
      app/assets/stylesheets/application.scss
  5. +5
    -0
      app/assets/stylesheets/components.scss

+ 0
- 2
app/assets/javascripts/components/features/ui/components/column.jsx View File

@ -30,9 +30,7 @@ const scrollTop = (node) => {
};
const style = {
height: '100%',
boxSizing: 'border-box',
flex: '0 0 auto',
background: '#282c37',
display: 'flex',
flexDirection: 'column'

+ 0
- 1
app/assets/javascripts/components/features/ui/components/columns_area.jsx View File

@ -3,7 +3,6 @@ import PureRenderMixin from 'react-addons-pure-render-mixin';
const style = {
display: 'flex',
flex: '1 1 auto',
flexDirection: 'row',
justifyContent: 'flex-start',
overflowX: 'auto'
};

+ 0
- 2
app/assets/javascripts/components/features/ui/components/drawer.jsx View File

@ -1,8 +1,6 @@
import PureRenderMixin from 'react-addons-pure-render-mixin';
const style = {
height: '100%',
flex: '0 0 auto',
boxSizing: 'border-box',
background: '#454b5e',
padding: '0',

+ 2
- 2
app/assets/stylesheets/application.scss View File

@ -77,9 +77,9 @@ table {
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
border: 0px none #ffffff;
border-radius: 50px;
border-radius: 0;
background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-track:hover {

+ 5
- 0
app/assets/stylesheets/components.scss View File

@ -231,6 +231,7 @@
.columns-area {
margin: 10px;
margin-left: 0;
flex-direction: row;
}
.column {
@ -243,15 +244,19 @@
.column, .drawer {
margin-left: 10px;
flex: 0 0 auto;
overflow: hidden;
}
@media screen and (max-width: 1024px) {
.column, .drawer {
width: 100%;
margin: 0;
flex: 1 1 100%;
}
.columns-area {
margin: 10px;
flex-direction: column;
}
}

Loading…
Cancel
Save