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