1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-24 23:26:42 +09:00

Fix styles

This commit is contained in:
Eugen Rochko 2016-10-12 19:14:47 +02:00
parent 2ddf4e09f9
commit f7f3e6e3be
5 changed files with 7 additions and 7 deletions

View File

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

View File

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

View File

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

View File

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

View File

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