Skip to content

Commit

Permalink
Message overflow fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodBoy21 committed Feb 18, 2022
1 parent bf5cfeb commit c57b4b1
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 34 deletions.
69 changes: 36 additions & 33 deletions frontend/public/global.css
Original file line number Diff line number Diff line change
@@ -1,68 +1,71 @@
@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Inter&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish&display=swap');
html, body {
position: relative;
width: 100%;
height: 100%;
font-family: 'Mulish', sans-serif;
html,
body {
position: relative;
width: 100%;
height: 100%;
font-family: 'Mulish', sans-serif;
}

body {
color: #333;
margin: 0;
padding: 8px;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
color: #333;
margin: 0;
padding: 8px;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

a {
color: rgb(0,100,200);
text-decoration: none;
color: rgb(0, 100, 200);
text-decoration: none;
}

a:hover {
text-decoration: underline;
text-decoration: underline;
}

a:visited {
color: rgb(0,80,160);
color: rgb(0, 80, 160);
}

label {
display: block;
display: block;
}

input, button, select, textarea {
font-family: inherit;
font-size: inherit;
-webkit-padding: 0.4em 0;
padding: 0.4em;
margin: 0 0 0.5em 0;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 2px;
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
-webkit-padding: 0.4em 0;
padding: 0.4em;
margin: 0 0 0.5em 0;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 2px;
}

input:disabled {
color: #ccc;
color: #ccc;
}

button {
color: #333;
background-color: #f4f4f4;
outline: none;
color: #333;
background-color: #f4f4f4;
outline: none;
}

button:disabled {
color: #999;
color: #999;
}

button:not(:disabled):active {
background-color: #ddd;
background-color: #ddd;
}

button:focus {
border-color: #666;
border-color: #666;
}


5 changes: 4 additions & 1 deletion frontend/src/components/Message.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@
.right-msg {
flex-direction: row-reverse;
margin-right: 10px;
}
.left-msg .msg-bubble,
.right-msg .msg-bubble {
word-wrap: break-word;
}
.right-msg .msg-bubble {
background: #f6eda3;
Expand Down

0 comments on commit c57b4b1

Please sign in to comment.