Skip to content

Commit 2dbe487

Browse files
committed
feat: reduce title font size on mobile
1 parent 292d2b8 commit 2dbe487

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/components/AppBar.vue

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616
/>
1717
</router-link>
1818
<v-toolbar-title
19-
class="printer-title text--secondary font-weight-light text-h4 mr-5"
19+
class="printer-title text--secondary mr-5"
2020
>
21-
<router-link to="/">
22-
{{ instanceName }}
23-
</router-link>
21+
<router-link to="/" v-html="instanceName"></router-link>
2422
</v-toolbar-title>
2523
<v-spacer />
2624

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

131129
<style lang="scss" scoped>
132130
.printer-title {
131+
font-size: 1.25rem;
132+
font-weight: 300;
133133
overflow: hidden;
134134
white-space: nowrap;
135135
text-overflow: ellipsis;
136+
@media #{map-get($display-breakpoints, 'sm-and-up')} {
137+
font-size: 2.125rem;
138+
}
136139
}
137140
138141
.printer-title > a {

0 commit comments

Comments
 (0)