android-dark: Constrain light play icon to with peer image
This commit is contained in:
parent
bdaebc24ae
commit
b458c7d449
2 changed files with 3 additions and 3 deletions
|
@ -227,7 +227,7 @@ $text-dark_l2: darken($text-dark, 30%);
|
|||
|
||||
.outgoing .bubble .quote .icon-container .icon {
|
||||
background-color: black;
|
||||
&.play.white {
|
||||
&.play.with-image {
|
||||
background-color: $text-dark;
|
||||
}
|
||||
}
|
||||
|
@ -239,7 +239,7 @@ $text-dark_l2: darken($text-dark, 30%);
|
|||
.circle-background {
|
||||
background-color: $text-dark;
|
||||
}
|
||||
.icon.play.white {
|
||||
.icon.play.with-image {
|
||||
background-color: $text-dark;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ function getObjectUrl(thumbnail: Attachment | undefined): string | null {
|
|||
export class Quote extends React.Component<Props, {}> {
|
||||
public renderImage(url: string, icon?: string) {
|
||||
const iconElement = icon
|
||||
? <div className={classnames('icon', 'white', icon)} />
|
||||
? <div className={classnames('icon', 'with-image', icon)} />
|
||||
: null;
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue