Skip to content

Commit

Permalink
mobile layout updated
Browse files Browse the repository at this point in the history
  • Loading branch information
genonfire committed May 8, 2024
1 parent 2d36bc0 commit 865779c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<meta property="twitter:image" content="/logo.png" />
<title>bbgo</title>
<link rel="icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="apple-touch-icon" href="/logo.png">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css">
</head>

Expand Down
1 change: 1 addition & 0 deletions src/styles/contents.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
margin-bottom: 0.2rem;
padding: 0.5rem 0.7rem;
border-radius: 5px;
background: #282922;
color: #ffffff;
font-size: 0.8rem;
overflow-x: auto;
Expand Down
2 changes: 1 addition & 1 deletion src/views/blog/Blogs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<v-card
v-for="blog in blogs"
:key="blog.id"
class="my-5 pa-0"
class="mb-5 pa-0"
variant="flat"
hover
>
Expand Down
10 changes: 6 additions & 4 deletions src/views/blog/ReadBlog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
{{ blog.category }}
</div>
<div
class="text-h4 font-weight-medium"
class="font-weight-medium"
:class="smAndUp ? 'text-h4' : 'text-h5'"
>
{{ blog.title }}
</div>
Expand Down Expand Up @@ -69,8 +70,7 @@
/>
</v-col>
</v-row>
<v-row
>
<v-row>
<v-col
class="text-center"
>
Expand Down Expand Up @@ -147,13 +147,15 @@

<script>
import { useFormatDate } from '@/composables/datetime'
import { useDisplay } from 'vuetify'
import Comment from '@/components/Comment'
import TagChips from '@/components/TagChips'
export default {
setup() {
const { formatDate } = useFormatDate()
return { formatDate }
const { smAndUp } = useDisplay()
return { formatDate, smAndUp }
},
components: {
Comment,
Expand Down

0 comments on commit 865779c

Please sign in to comment.