fix minor ui details

pull/725/head
Audric Ackermann 5 years ago
parent 5b04aecbd3
commit 02a9748f02

@ -70,6 +70,7 @@
height: 3.5rem;
background-color: black;
flex-shrink: 0;
align-items: center;
}
.module-empty-state {

@ -14,6 +14,31 @@ $session-compose-margin: 20px;
@include session-dark-background-hover;
}
}
&--is-selected {
@at-root .light-theme #{&} {
@include session-dark-background-hover;
&:hover {
@include session-dark-background-hover;
}
}
@at-root .dark-theme #{&} {
@include session-dark-background-hover;
&:hover {
@include session-dark-background-hover;
}
}
.module-conversation__user__profile-number,
.module-conversation__user__profile-name,
.module-conversation-list-item__message__text {
@at-root .light-theme #{&} {
color: $session-color-black;
}
@at-root .dark-theme #{&} {
color: $session-color-white;
}
}
}
}
.gutter {
width: 380px !important;
@ -99,20 +124,6 @@ $session-compose-margin: 20px;
}
}
.module-conversation-list-item--is-selected {
background-color: $color-dark-70;
.module-conversation__user__profile-number,
.module-conversation__user__profile-name,
.module-conversation-list-item__message__text {
@at-root .light-theme #{&} {
color: $session-color-black;
}
@at-root .dark-theme #{&} {
color: $session-color-white;
}
}
}
.inbox {
@at-root .light-theme #{&} {
color: $session-color-black;

@ -13,13 +13,13 @@
background: none !important;
}
.module-conversation-header {
border-bottom: none;
@at-root .light-theme #{&} {
background-color: $session-color-white;
border-bottom: none;
}
@at-root .dark-theme #{&} {
background-color: $session-shade-4;
border-bottom: none;
}
}

@ -137,7 +137,6 @@ export class LeftPaneContactSection extends React.Component<Props, State> {
const friends = this.getCurrentFriends();
const combined = [...sentFriendsRequest, ...friends];
const item = combined[index];
const onClick = this.props.openConversationInternal;
return (
<ConversationListItem
@ -145,7 +144,7 @@ export class LeftPaneContactSection extends React.Component<Props, State> {
style={style}
{...item}
i18n={window.i18n}
onClick={onClick}
onClick={this.props.openConversationInternal}
/>
);
};

Loading…
Cancel
Save