Post columns applied to page content #3

Closed
opened 2020-10-30 21:32:14 +01:00 by bea · 0 comments
Owner

The page.hbs template shares a class with post.hbs, which divides the main content in 3 columns.

This works as intended in posts, but results in the pages' content being in the leftmost column.

The issue is caused, in file "assets/screen.css", by this:

.mind-post_main {
    <...>
    grid-template-columns: 1fr 4fr 1fr;
    <...>
}

Further investigation is required, to decide if the two templates' divs should be divided in two different classes, such as .mind-post_mainand .mind-page_main, or if the page.hbs should simply have that class removed from the div.

The page.hbs template shares a class with post.hbs, which divides the main content in 3 columns. This works as intended in posts, but results in the pages' content being in the leftmost column. The issue is caused, in file "assets/screen.css", by this: ```css .mind-post_main { <...> grid-template-columns: 1fr 4fr 1fr; <...> } ``` Further investigation is required, to decide if the two templates' divs should be divided in two different classes, such as `.mind-post_main`and `.mind-page_main`, or if the page.hbs should simply have that class removed from the div.
bea added the
bug
label 2020-10-30 21:32:14 +01:00
bea self-assigned this 2020-10-30 21:32:14 +01:00
bea closed this issue 2020-11-04 23:52:11 +01:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: WebDev/mind-overflow-website-ghost-theme#3
No description provided.