This repository was archived by the owner on Oct 11, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +9
-12
lines changed
dashboard/components/inboxThread Expand file tree Collapse file tree 6 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ export default requireAuth(
348348 await createParticipantInThread ( dbThread . id , user . id ) ;
349349
350350 // Post a new message with a link to the new thread to the watercooler thread if one exists
351- if ( community . watercoolerId ) {
351+ if ( community . watercoolerId && ! channel . isPrivate ) {
352352 const identifier = user . username ? `@${ user . username } ` : user . name ;
353353 const sentence =
354354 Array . isArray ( usersPreviousPublishedThreads ) &&
Original file line number Diff line number Diff line change 11{
22 "name" : " Spectrum" ,
3- "version" : " 2.8.0 " ,
3+ "version" : " 2.8.1 " ,
44 "license" : " BSD-3-Clause" ,
55 "devDependencies" : {
66 "@babel/preset-flow" : " ^7.0.0" ,
Original file line number Diff line number Diff line change @@ -25,12 +25,8 @@ export const DropImageOverlay = (props: { visible: boolean }) => {
2525export const Wrapper = styled . div `
2626 position: absolute;
2727 width: 100vw;
28- height: calc( 100vh - 48px) ;
28+ height: 100vh;
2929 bottom: 0;
30-
31- @media (max-width: 768px) {
32- height: 100vh;
33- }
3430` ;
3531
3632export const DropImageOverlayWrapper = styled . div `
@@ -65,7 +61,7 @@ export const Overlay = styled.div`
6561 props . slider &&
6662 css `
6763 position: fixed;
68- top: 48px ;
64+ top: 0 ;
6965 left: 0;
7066 right: 0;
7167 bottom: 0;
@@ -87,7 +83,7 @@ export const Container = styled(FlexCol)`
8783 align-self: stretch;
8884 flex: auto;
8985 overflow: hidden;
90- height: ${ props => ( props . isSlider ? ' 100vh' : 'calc(100vh - 48px)' ) } ;
86+ height: 100vh;
9187 position: relative;
9288 z-index: ${ zIndex . composer } ;
9389
@@ -98,7 +94,7 @@ export const Container = styled(FlexCol)`
9894 position: absolute;
9995 width: 650px;
10096 top: 0;
101- height: 100% ;
97+ height: 100vh ;
10298 ` }
10399
104100 @media (max-width: 768px) {
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ class InboxThread extends React.Component<Props> {
4949 active,
5050 viewContext = null ,
5151 currentUser,
52+ location,
5253 } = this . props ;
5354
5455 const isInbox =
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export const Nav = styled.nav`
1313 grid-template-areas: 'logo home messages explore . notifications profile';
1414 align-items: stretch;
1515 width: 100%;
16- flex: 0 0 ${ isDesktopApp ( ) ? '38px' : ' 48px' } ;
16+ flex: 0 0 48px;
1717 padding: 0 16px;
1818 line-height: 1;
1919 box-shadow: 0 4px 8px ${ ( { theme } ) => hexa ( theme . bg . reverse , 0.15 ) } ;
Original file line number Diff line number Diff line change @@ -466,7 +466,7 @@ export const CommunityHeader = styled.div`
466466 display: ${ props => ( props . hide ? 'none' : 'flex' ) } ;
467467 align-items: center;
468468 justify-content: space-between;
469- padding: 16px 32px;
469+ padding: 11px 32px;
470470 box-shadow: ${ Shadow . low } ${ props => hexa ( props . theme . bg . reverse , 0.15 ) } ;
471471 flex: 0 0 64px;
472472 align-self: stretch;
You can’t perform that action at this time.
0 commit comments