File tree Expand file tree Collapse file tree 4 files changed +16
-20
lines changed
ts/components/conversation Expand file tree Collapse file tree 4 files changed +16
-20
lines changed Original file line number Diff line number Diff line change 3636 z-index : 1 ;
3737 position : absolute ;
3838 left : 0 ;
39- top : 48 px ;
39+ top : $header-height ;
4040 width : 100% ;
41- height : calc (100% - 48 px );
41+ height : calc (100% - $header-height );
4242
4343 @include light-theme () {
4444 background-color : $color-white ;
Original file line number Diff line number Diff line change @@ -2846,23 +2846,26 @@ span.module-in-contacts-icon__tooltip {
28462846}
28472847
28482848.module-conversation-header__back-icon {
2849+ $transition : 250ms ease-out ;
2850+
28492851 display : inline-block ;
28502852 margin-left : -10px ;
2851- margin-right : -2 px ;
2853+ margin-right : -10 px ;
28522854 width : 24px ;
28532855 height : 24px ;
28542856 min-width : 24px ;
28552857 vertical-align : text-bottom ;
28562858 border : none ;
28572859 opacity : 0 ;
2858- transition : opacity 250 ms ease-out ;
2860+ transition : margin-right $transition , opacity $transition ;
28592861
28602862 & :disabled {
28612863 cursor : default ;
28622864 }
28632865
28642866 & --show {
28652867 opacity : 1 ;
2868+ margin-right : 6px ;
28662869 }
28672870
28682871 @include light-theme {
@@ -2885,8 +2888,7 @@ span.module-in-contacts-icon__tooltip {
28852888 min-width : 0 ;
28862889 display : block ;
28872890
2888- text-align : center ;
2889- height : 48px ;
2891+ height : $header-height ;
28902892}
28912893
28922894.module-conversation-header__title-flex {
@@ -2895,7 +2897,7 @@ span.module-in-contacts-icon__tooltip {
28952897 display : inline-flex ;
28962898 flex-direction : row ;
28972899 align-items : center ;
2898- height : 48 px ;
2900+ height : $header-height ;
28992901 max-width : 100% ;
29002902}
29012903
@@ -2906,7 +2908,8 @@ span.module-in-contacts-icon__tooltip {
29062908}
29072909
29082910.module-conversation-header__avatar {
2909- min-width : 28px ;
2911+ min-width : 32px ;
2912+ margin-right : 4px ;
29102913}
29112914
29122915.module-conversation-header__title {
@@ -6856,19 +6859,12 @@ button.module-image__border-overlay:focus {
68566859}
68576860
68586861.module-left-pane__archive-header {
6859- height : 48 px ;
6862+ height : $header-height ;
68606863 width : 100% ;
68616864
68626865 display : inline-flex ;
68636866 flex-direction : row ;
68646867 align-items : center ;
6865-
6866- @include light-theme {
6867- border-bottom : 1px solid $color-gray-15 ;
6868- }
6869- @include dark-theme {
6870- border-bottom : 1px solid $color-gray-75 ;
6871- }
68726868}
68736869
68746870.module-left-pane__header-row {
Original file line number Diff line number Diff line change @@ -191,6 +191,6 @@ $color-deep-red: #ff261f;
191191// -- A few layout variables used cross-file
192192
193193$left-pane-width : 320px ;
194- $header-height : 48 px ;
194+ $header-height : 52 px ;
195195
196196$ease-out-expo : cubic-bezier (0.19 , 1 , 0.22 , 1 );
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import {
1212} from 'react-contextmenu' ;
1313
1414import { Emojify } from './Emojify' ;
15- import { Avatar } from '../Avatar' ;
15+ import { Avatar , AvatarSize } from '../Avatar' ;
1616import { InContactsIcon } from '../InContactsIcon' ;
1717
1818import { LocalizerType } from '../../types/Util' ;
@@ -194,7 +194,7 @@ export class ConversationHeader extends React.Component<PropsType> {
194194 name = { name }
195195 phoneNumber = { phoneNumber }
196196 profileName = { profileName }
197- size = { 28 }
197+ size = { AvatarSize . THIRTY_TWO }
198198 />
199199 </ span >
200200 ) ;
@@ -482,8 +482,8 @@ export class ConversationHeader extends React.Component<PropsType> {
482482 </ div >
483483 </ div >
484484 { this . renderExpirationLength ( ) }
485- { this . renderSearchButton ( ) }
486485 { this . renderOutgoingCallButtons ( ) }
486+ { this . renderSearchButton ( ) }
487487 { this . renderMoreButton ( triggerId ) }
488488 { this . renderMenu ( triggerId ) }
489489 </ div >
You can’t perform that action at this time.
0 commit comments