mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 03:23:09 +03:00
chat: fade images on dark mode
Adds 60% opacity to dim images within messages in dark mode.
This commit is contained in:
parent
d45be05c26
commit
4143b0060f
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -180,6 +180,9 @@ h2 {
|
||||
.invert-d {
|
||||
filter: invert(1);
|
||||
}
|
||||
.o-60-d {
|
||||
opacity: .6;
|
||||
}
|
||||
a {
|
||||
color: #fff;
|
||||
}
|
||||
|
@ -38,6 +38,7 @@ export class Message extends Component {
|
||||
if (imgMatch) {
|
||||
contents = (
|
||||
<img
|
||||
className="o-60-d"
|
||||
src={letter.url}
|
||||
style={{
|
||||
width: "50%",
|
||||
|
Loading…
Reference in New Issue
Block a user