more style fixes
This commit is contained in:
parent
3443ea3739
commit
a44e2a720c
2 changed files with 44 additions and 43 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "calckey",
|
||||
"version": "12.119.0-calc.16.2",
|
||||
"version": "12.119.0-calc.16.3",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -10,12 +10,12 @@
|
|||
</div>
|
||||
<div class="_block main">
|
||||
<div class="banner">
|
||||
<div v-if="page.eyeCatchingImageId" class="banner-image" :style="`background-image: url(${page.eyeCatchingImage.url})`">
|
||||
<div v-if="page.eyeCatchingImageId" class="banner-image" :style="`background-image: url(${page.eyeCatchingImage.url})`"></div>
|
||||
<div class="header">
|
||||
<h1>{{ page.title }}</h1>
|
||||
</div>
|
||||
<div class="menu-actions">
|
||||
<MkA :to="`/@${username}/pages/${pageName}/view-source`" class="_button"><i class="ph-code-bold"/></MkA>
|
||||
<MkA :to="`/@${username}/pages/${pageName}/view-source`" class="menu _button"><i class="ph-code-bold"/></MkA>
|
||||
<template v-if="$i && $i.id === page.userId">
|
||||
<MkA v-tooltip="i18n.ts._pages.editPage" class="menu _button" :to="`/pages/edit/${page.id}`"><i class="ph-pencil-bold ph-lg"/></MkA>
|
||||
<button v-if="$i.pinnedPageId === page.id" v-tooltip="i18n.ts.unpin" class="menu _button" @click="pin(false)"><i class="ph-push-pin-slash-bold ph-lg"/></button>
|
||||
|
@ -23,7 +23,6 @@
|
|||
</template>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<XPage :page="page"/>
|
||||
</div>
|
||||
|
@ -198,6 +197,8 @@ definePageMetadata(computed(() => page ? {
|
|||
background-position: center;
|
||||
background-size: cover;
|
||||
|
||||
}
|
||||
|
||||
> .header {
|
||||
padding: 16px;
|
||||
|
||||
|
@ -215,6 +216,7 @@ definePageMetadata(computed(() => page ? {
|
|||
padding: 8px;
|
||||
border-radius: 24px;
|
||||
width: fit-content;
|
||||
position: relative;
|
||||
top: -10px;
|
||||
left: 1rem;
|
||||
|
||||
|
@ -233,7 +235,6 @@ definePageMetadata(computed(() => page ? {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> .content {
|
||||
padding: 16px 0 0 0;
|
||||
|
|
Loading…
Reference in a new issue