mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-21 21:01:29 +01:00
Composer: More fixes for icons
This commit is contained in:
parent
27e0a11353
commit
77d2c276a1
@ -18,16 +18,20 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-right: 0.625rem;
|
||||
padding-top: 0.45rem;
|
||||
padding-top: 0.1875rem;
|
||||
}
|
||||
|
||||
& > div > .Button {
|
||||
flex-shrink: 0;
|
||||
background: none !important;
|
||||
width: 2.125rem;
|
||||
height: 2.125rem;
|
||||
margin: 0 0.625rem;
|
||||
width: 3.5rem;
|
||||
height: 2.875rem;
|
||||
margin: 0 -0.0625rem 0 0;
|
||||
padding: 0;
|
||||
align-self: center;
|
||||
|
||||
@media (max-width: 600px) {
|
||||
width: 2.875rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ const ComposerEmbeddedMessage: FC<StateProps & DispatchProps> = ({
|
||||
return (
|
||||
<div className={className}>
|
||||
<div>
|
||||
<Button round color="translucent" ariaLabel="Cancel replying" onClick={clearEmbedded}>
|
||||
<Button round faded color="translucent" ariaLabel="Cancel replying" onClick={clearEmbedded}>
|
||||
<i className="icon-close" />
|
||||
</Button>
|
||||
<EmbeddedMessage
|
||||
|
@ -14,11 +14,12 @@
|
||||
height: 0 !important;
|
||||
}
|
||||
|
||||
// TODO Remove duplication with `.ComposerEmbeddedMessage`
|
||||
& > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-right: 0.625rem;
|
||||
padding-top: 0.45rem;
|
||||
padding-top: 0.1875rem;
|
||||
}
|
||||
|
||||
--accent-color: var(--color-primary);
|
||||
@ -30,11 +31,15 @@
|
||||
& > div > .Button {
|
||||
flex-shrink: 0;
|
||||
background: none !important;
|
||||
width: 2.125rem;
|
||||
height: 2.125rem;
|
||||
margin: 0 0.625rem;
|
||||
width: 3.5rem;
|
||||
height: 2.875rem;
|
||||
margin: 0 -0.0625rem 0 0;
|
||||
padding: 0;
|
||||
align-self: center;
|
||||
|
||||
@media (max-width: 600px) {
|
||||
width: 2.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.WebPage {
|
||||
|
@ -100,7 +100,7 @@ const WebPagePreview: FC<OwnProps & StateProps & DispatchProps> = ({
|
||||
return (
|
||||
<div className={buildClassName('WebPagePreview', transitionClassNames)}>
|
||||
<div>
|
||||
<Button round color="translucent" ariaLabel="Clear Webpage Preview" onClick={handleClearWebpagePreview}>
|
||||
<Button round faded color="translucent" ariaLabel="Clear Webpage Preview" onClick={handleClearWebpagePreview}>
|
||||
<i className="icon-close" />
|
||||
</Button>
|
||||
<WebPage message={messageStub} inPreview />
|
||||
|
@ -154,7 +154,7 @@
|
||||
}
|
||||
|
||||
&.faded {
|
||||
opacity: 0.75;
|
||||
opacity: 0.8;
|
||||
|
||||
@include active-styles() {
|
||||
opacity: 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user