[scss.container] fixed chrome flex-colum issue [lib.content-controller] when removing current channel -> navigate to channel{ cid: 1 }
This commit is contained in:
parent
30541caf1c
commit
d751959e6f
|
@ -321,8 +321,15 @@ export default class ContentController{
|
||||||
let channel = gs.get.channel.list[ci];
|
let channel = gs.get.channel.list[ci];
|
||||||
|
|
||||||
// 2. If id matches -> REMOVE
|
// 2. If id matches -> REMOVE
|
||||||
if( channel.id === c.id )
|
if( channel.id === c.id ){
|
||||||
|
|
||||||
|
// 2.1. If remove CURRENT channel -> nav to channel 1
|
||||||
|
if( channel.id === gs.get.content.cid )
|
||||||
|
gs.get.channel.nav(1);
|
||||||
|
|
||||||
|
// 2.2. Delete channel
|
||||||
gs.get.channel.list.splice(ci, 1);
|
gs.get.channel.list.splice(ci, 1);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -91,6 +91,9 @@
|
||||||
background-color: $container-bg;
|
background-color: $container-bg;
|
||||||
|
|
||||||
flex-flow: row wrap;
|
flex-flow: row wrap;
|
||||||
|
justify-content: stretch;
|
||||||
|
align-items: flex-start;
|
||||||
|
align-content: flex-start;
|
||||||
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
|
@ -118,7 +121,7 @@
|
||||||
// {1} Meta Data //
|
// {1} Meta Data //
|
||||||
& > span.meta{
|
& > span.meta{
|
||||||
|
|
||||||
flex: 1 1 90%;
|
flex: 0 1 100%;
|
||||||
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -148,7 +151,7 @@
|
||||||
|
|
||||||
// {2} Message Text //
|
// {2} Message Text //
|
||||||
& > span.text{
|
& > span.text{
|
||||||
flex: 1 1 90%;
|
flex: 0 1 100%;
|
||||||
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
Loading…
Reference in New Issue