Skip to content

Commit

Permalink
Use dedicated chatFont styles
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgoetze committed Jan 15, 2023
1 parent 07ef2b6 commit af718c9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/Chat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default {
width: 100%;
padding-top: 54px;
@include defaultFont();
@include chatFont();
@include defaultShadow();
outline: none;
Expand Down Expand Up @@ -169,16 +169,18 @@ export default {
@include lightShadow();
input, button {
@include homeFont();
padding: 4px 8px;
@include chatFont();
padding: 0 8px;
letter-spacing: -1px;
border: none;
margin: 0;
}
input {
flex: 1;
height: 100%;
background: white;
&:focus, &:active {
outline: none;
Expand Down
15 changes: 15 additions & 0 deletions src/css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,21 @@ $lobby-border-radius: 0px;
}
}

@mixin chatFont() {
font-size: 16px;
line-height: 1.3em;

@media (min-width: $desktop-large) {
font-size: 17px;
line-height: 1.3em;
}

@media (min-width: $desktop-huge) {
font-size: 18px;
line-height: 1.3em;
}
}

@mixin homeSymbol() {
height: 35px;
width: 35px;
Expand Down

0 comments on commit af718c9

Please sign in to comment.