mirror of
https://github.com/funamitech/mastodon
synced 2024-11-24 15:16:33 +09:00
Fix styles
This commit is contained in:
parent
2ddf4e09f9
commit
f7f3e6e3be
@ -30,9 +30,7 @@ const scrollTop = (node) => {
|
||||
};
|
||||
|
||||
const style = {
|
||||
height: '100%',
|
||||
boxSizing: 'border-box',
|
||||
flex: '0 0 auto',
|
||||
background: '#282c37',
|
||||
display: 'flex',
|
||||
flexDirection: 'column'
|
||||
|
@ -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'
|
||||
};
|
||||
|
@ -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',
|
||||
|
@ -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 {
|
||||
|
@ -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…
Reference in New Issue
Block a user