Skip to content

Commit

Permalink
docs: enhance mobile display for plugin market
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Mar 1, 2022
1 parent c527f17 commit 71946b3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
11 changes: 11 additions & 0 deletions docs/.vuepress/layouts/market/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ html.dark {
border-radius: 8px;
margin-top: 2rem;
}
.package-view {
height: 12rem;
display: flex;
flex-direction: column;
}
}
> .search-box {
Expand Down Expand Up @@ -188,11 +194,16 @@ html.dark {
}
> .package-view {
padding: 0.25rem 0;
border-top: 1px solid var(--c-border);
&:last-child {
border-bottom: 1px solid var(--c-border);
}
.badge-container {
margin: 1rem 0 1.25rem;
}
}
}
}
Expand Down
9 changes: 2 additions & 7 deletions docs/.vuepress/layouts/market/package.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ const email = computed(() => props.data.author?.email)
.package-view {
width: 100%;
height: 12rem;
display: flex;
flex-direction: column;
overflow: hidden;
> * {
Expand All @@ -93,8 +90,6 @@ const email = computed(() => props.data.author?.email)
.header {
font-size: 1.3rem;
font-weight: 500;
margin: 1.25rem 0 1rem;
flex-shrink: 0;
.right {
float: right;
Expand All @@ -109,8 +104,8 @@ const email = computed(() => props.data.author?.email)
}
}
.footer {
margin: 1.25rem 0;
.header, .footer {
margin: 1rem 0;
flex-shrink: 0;
}
Expand Down

0 comments on commit 71946b3

Please sign in to comment.