Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit d998b9b

Browse files
authored
Merge pull request #4785 from withspectrum/2.8.1
2.8.1
2 parents 125c117 + 400a4bc commit d998b9b

File tree

6 files changed

+9
-12
lines changed

6 files changed

+9
-12
lines changed

api/mutations/thread/publishThread.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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) &&

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

src/components/composer/style.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,8 @@ export const DropImageOverlay = (props: { visible: boolean }) => {
2525
export 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

3632
export 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) {

src/views/dashboard/components/inboxThread/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 =

src/views/navbar/style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)};

src/views/thread/style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)