gameproposal: move game.message color to css
This commit is contained in:
parent
72daeddb9d
commit
c8480c3937
@ -15,6 +15,10 @@
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.GameProposal .li p q {
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.separator {
|
||||
width: 20%;
|
||||
/* height: 20px; */
|
||||
|
@ -19,8 +19,9 @@ const GameProposal = ({games}) => {
|
||||
.map(game => { return (
|
||||
<div class="li" key={game.uuid}>
|
||||
<p>
|
||||
from {game.opponentName}, opponentColor {game.opponentColor}<br/>
|
||||
<q color="grey">{game.message}</q>
|
||||
from {game.opponentName}, opponentColor {game.opponentColor}
|
||||
<br/>
|
||||
<q>{game.message}</q>
|
||||
</p>
|
||||
</div>
|
||||
)});
|
||||
@ -30,8 +31,9 @@ const GameProposal = ({games}) => {
|
||||
.map(game => { return (
|
||||
<div class="li" key={game.uuid}>
|
||||
<p>
|
||||
to {game.opponentName}, opponentColor ⛀ ⛂{game.opponentColor}<br/>
|
||||
<q color="grey">{game.message}</q>
|
||||
to {game.opponentName}, opponentColor ⛀ ⛂{game.opponentColor}
|
||||
<br/>
|
||||
<q>{game.message}</q>
|
||||
</p>
|
||||
</div>
|
||||
)});
|
||||
|
Loading…
Reference in New Issue
Block a user