Skip to content

Commit

Permalink
feat: reduce title font size on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
cadriel committed Jan 3, 2021
1 parent 292d2b8 commit 2dbe487
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/components/AppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@
/>
</router-link>
<v-toolbar-title
class="printer-title text--secondary font-weight-light text-h4 mr-5"
class="printer-title text--secondary mr-5"
>
<router-link to="/">
{{ instanceName }}
</router-link>
<router-link to="/" v-html="instanceName"></router-link>
</v-toolbar-title>
<v-spacer />

Expand Down Expand Up @@ -130,9 +128,14 @@ export default class AppBar extends Mixins(UtilsMixin) {

<style lang="scss" scoped>
.printer-title {
font-size: 1.25rem;
font-weight: 300;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@media #{map-get($display-breakpoints, 'sm-and-up')} {
font-size: 2.125rem;
}
}
.printer-title > a {
Expand Down

0 comments on commit 2dbe487

Please sign in to comment.