Skip to content

Commit

Permalink
fix: Alignment of landing page widgets
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- committed Oct 28, 2024
1 parent 0882cb3 commit 79db60a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Page/LandingPageWidgets.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default {

<style scoped>
.landing-page-widgets {
padding-inline: 12px;
padding-inline: 14px 8px;
}
.first-row-widgets{
display: flex;
Expand Down
4 changes: 2 additions & 2 deletions src/components/Page/TextEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,11 @@ export default {
}

.text-container-heading {
padding-left: 14px;
padding-inline: 14px 8px;
}

.page-content-skeleton {
padding-top: var(--default-clickable-area);
padding-block-start: var(--default-clickable-area);
}

@media print {
Expand Down
7 changes: 6 additions & 1 deletion src/css/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,14 @@
--text-editor-max-width: 670px !important;

.landing-page-widgets,
.text-container-heading,
.page-heading-skeleton,
.page-content-skeleton {
width: var(--text-editor-max-width);
max-width: var(--text-editor-max-width);
margin-inline: auto;
}

.text-container-heading {
max-width: var(--text-editor-max-width);
margin-inline: auto;
}
Expand Down

0 comments on commit 79db60a

Please sign in to comment.