Middle Header, Quick Preview Modal Header: Better styles
This commit is contained in:
parent
a4a3b58b50
commit
9ea1d5c710
@ -116,7 +116,7 @@
|
|||||||
|
|
||||||
font-size: 1.125rem;
|
font-size: 1.125rem;
|
||||||
font-weight: var(--font-weight-medium);
|
font-weight: var(--font-weight-medium);
|
||||||
line-height: 1.375rem;
|
line-height: 1.5rem;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,11 @@
|
|||||||
.root {
|
.root {
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 3rem;
|
|
||||||
padding: 0.5rem 0.625rem 0.625rem 0.75rem !important;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
min-height: 3.625rem;
|
||||||
|
padding: 0 0.75rem;
|
||||||
border-bottom: 1px solid var(--color-borders);
|
border-bottom: 1px solid var(--color-borders);
|
||||||
|
|
||||||
:global(.modal-title) {
|
:global(.modal-title) {
|
||||||
@ -38,8 +42,8 @@
|
|||||||
|
|
||||||
:global(.Avatar) {
|
:global(.Avatar) {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
width: 2.625rem;
|
width: 2.5rem;
|
||||||
height: 2.625rem;
|
height: 2.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.info) {
|
:global(.info) {
|
||||||
@ -47,25 +51,27 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.125rem;
|
|
||||||
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.title),
|
:global(.title),
|
||||||
:global(.fullName) {
|
:global(.fullName) {
|
||||||
|
--custom-emoji-size: 1.375rem;
|
||||||
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
font-size: 1rem;
|
font-size: 1.0625rem;
|
||||||
font-weight: var(--font-weight-semibold);
|
font-weight: var(--font-weight-semibold);
|
||||||
line-height: 1.25rem;
|
line-height: 1.5rem;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.status) {
|
:global(.status), :global(.typing-status) {
|
||||||
|
margin: 0;
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
line-height: 1.125rem;
|
line-height: 1.125rem;
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-text-secondary);
|
||||||
|
|||||||
@ -39,7 +39,7 @@ type StateProps = {
|
|||||||
hasUnreadMark?: boolean;
|
hasUnreadMark?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
const EMOJI_STATUS_SIZE = 20;
|
const EMOJI_STATUS_SIZE = 22;
|
||||||
|
|
||||||
const QuickPreviewModalHeader: FC<OwnProps & StateProps> = ({
|
const QuickPreviewModalHeader: FC<OwnProps & StateProps> = ({
|
||||||
chatId,
|
chatId,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user