Skip to content

Commit

Permalink
Add footer and fixed join size
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-42 committed Oct 6, 2020
1 parent b6858a8 commit 9df427f
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ function notify(word) {
type: "basic",
title: "AutoMeet",
message: `The word '${word}' has appeared!`,
iconUrl: "http://www.google.com/favicon.ico",
});
}

Expand Down
32 changes: 30 additions & 2 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

header {
height: 104px;
min-height: 85px;
width: 300px;
background-color: #26a69a;
color: white;
Expand All @@ -24,7 +25,7 @@ header {
}


html::-webkip-scrollbar{
html::-webkit-scrollbar{
display:none;
}

Expand All @@ -38,6 +39,8 @@ html,
body {
width: 300px;
height: 460px;
display: flex;
flex-direction: column;
}

/* button */
Expand All @@ -47,7 +50,7 @@ body {
padding: 0 2rem;
top: 2rem;
position: relative;
padding-bottom: 1rem;
padding-bottom: 35px;
}

#submit{
Expand Down Expand Up @@ -86,6 +89,9 @@ button:focus {
color: white;
}

#join{
font-size: 1.1rem;
}
#joinText {
display: inline-block;
right: 180px;
Expand Down Expand Up @@ -185,3 +191,25 @@ input[type="number"] {
.chip{
font-size: 0.8rem;
}

#footer img{
max-width: 100%;
max-height: 100%;
}

#footer{
display: flex;
font-size: 1.5rem;
justify-content: center;
width: 100%;
align-items: center;
margin-top: auto;
}
#heart{

}
#github{
width:1.5rem;
padding-top: 4px;
margin-left: 25px;
}
2 changes: 1 addition & 1 deletion src/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function leaveCall(state) {

export function joinCall() {
const joinButton = getJoinButton();
if (joinButton !== undefined) {
if (joinButton) {
joinButton.click();
return 1;
}
Expand Down
Binary file modified src/static/audio.mp3
Binary file not shown.
Binary file added src/static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ <h3 id='leave_text'>

<button id="submit">Submit</button>
</div>
<div id="footer">
<div id='heart'>❤️</div>
<div id='github'><img src="favicon.png"></div>
</div>
<script type="application/javascript" src="./browser-polyfill.js"></script>
<script src="./main.js"></script>
</body>
Expand Down

0 comments on commit 9df427f

Please sign in to comment.