made CSS changes

pull/3/head
Simon Huang 5 years ago
parent a3597b1980
commit 25c35cf241

@ -26,6 +26,7 @@ ion-textarea {
.send-button { .send-button {
align-self: center; align-self: center;
margin: 0 2px 0 5px; margin: 0 2px 0 5px;
--box-shadow: 0 3px 2px -1px rgba(0, 0, 0, 0.2), 0 2px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
} }
.message-input { .message-input {

@ -7,7 +7,7 @@
.message-grid { .message-grid {
margin-right: 0; margin-right: 0;
height: 100%; height: 100%;
user-select: auto; user-select: text;
} }
.right-align { .right-align {

@ -1,6 +1,7 @@
.online-button { .online-button {
margin: 0 4px 0 0; margin: 0 4px 0 0;
align-self: center; align-self: center;
--box-shadow: 0 3px 2px -1px rgba(0, 0, 0, 0.2), 0 2px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
} }
.popover-list { .popover-list {

@ -1,6 +1,6 @@
.title { .title {
text-align: left; text-align: left;
max-width: 100px; max-width: 110px;
padding-left: 15px; padding-left: 15px;
padding-right: 15px; padding-right: 15px;
color: var(--ion-color-primary); color: var(--ion-color-primary);

@ -52,7 +52,7 @@ const RoomHeader: React.FC<RoomHeaderProps> = ({ roomId, userId, ownerId, videoI
type="url" type="url"
inputmode="search" inputmode="search"
class="input-bar" class="input-bar"
placeholder="Upload new video by URL" placeholder="Upload video by URL"
onIonChange={(e) => setVideoUrl(e.detail.value!)} onIonChange={(e) => setVideoUrl(e.detail.value!)}
value={videoUrl} value={videoUrl}
onSubmit={onSubmit} onSubmit={onSubmit}

@ -21,7 +21,7 @@ const Home: React.FC = () => {
const roomRef = db.collection('rooms').doc(roomId.id); const roomRef = db.collection('rooms').doc(roomId.id);
await roomRef.collection('playlist').add({ await roomRef.collection('playlist').add({
createdAt: timestamp, createdAt: timestamp,
url: 'https://www.youtube.com/watch?v=ksHOjnopT_U', url: 'https://www.youtube.com/watch?v=XEfDYMngJeE',
}); });
await roomRef.collection('states').add({ await roomRef.collection('states').add({

@ -1,24 +1,34 @@
const adjectives = [ const adjectives = [
'Adamant', 'Abaft',
'Instinctive',
'Actually', 'Actually',
'Husky', 'Adamant',
'Adorable',
'Anxious',
'Bent', 'Bent',
'Fascinated', 'Bright',
'Sexual',
'Mute',
'Silent',
'Coherent', 'Coherent',
'Curious',
'Diligent',
'Earthy',
'Fascinated',
'Foreign',
'Hateful',
'Husky',
'Instinctive',
'Jagged',
'Juvenile', 'Juvenile',
'Military',
'Mute',
'Naughty', 'Naughty',
'Foreign', 'Neat',
'Earthy', 'Nifty',
'Diligent', 'Parallel',
'Anxious',
'Adorable',
'Quack', 'Quack',
'Unequal', 'Roomy',
'Sedate',
'Sharp', 'Sharp',
'Silent',
'Unequal',
]; ];
const animals = [ const animals = [
@ -59,7 +69,7 @@ const animals = [
// }; // };
export const generateAnonName = (): string => { export const generateAnonName = (): string => {
const adj: string = adjectives[Math.floor(Math.random() * 20)]; const adj: string = adjectives[Math.floor(Math.random() * 30)];
const animal: string = animals[Math.floor(Math.random() * 20)]; const animal: string = animals[Math.floor(Math.random() * 20)];
return adj + ' ' + animal; return adj + ' ' + animal;
}; };

Loading…
Cancel
Save