Ability to set header image for a Page (#6210)
* Ability to set header image for a Page - Add header image to Page - Show it on Page view - Show correctly it on Page list view - On the Page list view, pages have a light border to make it easier to see an image belongs to a page * Maybe it looks better * Use <img> instead if <x-image> * src -> :src; set width * Update page.vue Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
@ -35,6 +35,7 @@ export default Vue.extend({
|
||||
border: solid var(--lineWidth) var(--urlPreviewBorder);
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--divider);
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
@ -42,9 +43,8 @@ export default Vue.extend({
|
||||
}
|
||||
|
||||
> .thumbnail {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
display: flex;
|
||||
|
Reference in New Issue
Block a user