Skip to content

Commit

Permalink
Merge pull request #61 from pandaudio/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
wang3101 authored Jul 24, 2020
2 parents 46f5bd5 + 89992a8 commit 6c1462a
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 10 deletions.
3 changes: 2 additions & 1 deletion client/components/Chat/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
overflow-y: scroll;
display: flex;
flex-direction: column-reverse;
color: white;
}
img {
.chat-img {
height: 30px !important;
width: 30px !important;
border-radius: 50%;
Expand Down
4 changes: 2 additions & 2 deletions client/components/Chat/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Chat = ({ roomId }) => {
feed.push(
<div key={i}>
<p>
<img src={response.data[i].thumbnail} />
<img className="chat-img" src={response.data[i].thumbnail} />
<span> {response.data[i].username}: </span>
{response.data[i].content}
</p>
Expand Down Expand Up @@ -67,7 +67,7 @@ const Chat = ({ roomId }) => {
[
<div key={data.created_at}>
<p>
<img src={data.thumbnail} />
<img className="chat-img" src={data.thumbnail} />
<span> {data.username}:</span>
{data.message}
<span> {new Date().toLocaleTimeString()} </span>
Expand Down
2 changes: 1 addition & 1 deletion client/components/RoomOption/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
s {
background-color: grey;
} */
p {
.roomName {
color: white;
}
2 changes: 1 addition & 1 deletion client/components/RoomOption/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const RoomOption = props => {

return (
<div className="roomOption">
<p>{room.room_name}</p>
<p className="roomName">{room.room_name}</p>
<button type="submit" onClick={handleClick}>
Join
</button>
Expand Down
2 changes: 1 addition & 1 deletion client/components/RoomPage/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ const RoomPage = props => {
</div>
<div className="room-player">
<div className="player-cover">
<img src="" alt="Image goes here" />
{albumArt && <img src={albumArt} />}
</div>
<div className="player-content">
<div className="player-playing">
Expand Down
10 changes: 7 additions & 3 deletions client/components/RoomPage/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,18 @@
.player-cover {
width: 250px;
height: 250px;
border: thin solid white;
border-radius: 0;
border: thin solid black;

img {
display: block;
height: 100%
}
}

.player-content {
@include centerWithFlex($direction: column, $justify: space-evenly, $align: flex-start);
padding: 0 30px;
width: 300px;

.player-playing {}

Expand All @@ -52,7 +53,10 @@
flex-direction: column;
justify-content: space-between;

h3 { font-size: 145%; }
h3 {
font-size: 145%;
color: white;
}
}

.player-btn {
Expand Down
1 change: 1 addition & 0 deletions client/components/SongOption/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
justify-content: space-between;
align-items: center;
background-color: rgba(255, 255, 255, 0.05);
color: white;
}

.songOption-add {
Expand Down
2 changes: 1 addition & 1 deletion client/components/SongSearch/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
min-height: 100%;
max-height: 100%;
overflow: scroll;
background-color: rgba(255, 255, 255, 0.05);
background-color: rgba(255, 255, 255, 0.03);
}

.songSearch-queue-header {
Expand Down

0 comments on commit 6c1462a

Please sign in to comment.