From 91f77949662e67c6b5f263f1cf5194b003fc661d Mon Sep 17 00:00:00 2001 From: harmendv Date: Wed, 1 Nov 2023 21:12:00 +0100 Subject: [PATCH 1/4] Fix overflow bug --- src/lib/components/LvLayout/LvLayout.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/components/LvLayout/LvLayout.vue b/src/lib/components/LvLayout/LvLayout.vue index 7736542e..51f21cb3 100644 --- a/src/lib/components/LvLayout/LvLayout.vue +++ b/src/lib/components/LvLayout/LvLayout.vue @@ -111,7 +111,6 @@ body { flex-direction: column; background-color: var(--main-background-color); width: 100%; - overflow: hidden; &__header { z-index: 1; From 7400b6ef43c5c75669f38596d73048010bc2e4fe Mon Sep 17 00:00:00 2001 From: harmendv Date: Wed, 1 Nov 2023 21:12:05 +0100 Subject: [PATCH 2/4] Improve hero styling --- src/lib/components/LvHero/LvHero.vue | 31 ++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/src/lib/components/LvHero/LvHero.vue b/src/lib/components/LvHero/LvHero.vue index a929a073..f11b5cf5 100644 --- a/src/lib/components/LvHero/LvHero.vue +++ b/src/lib/components/LvHero/LvHero.vue @@ -79,31 +79,30 @@ export default { display: flex; flex-shrink: 0; gap: 10px; - margin-top: auto; } &--align-right { #{$self}__image { display: flex; justify-content: center; - margin-left: 1rem; + margin-left: 3rem; text-align: center; } #{$self}__content { - justify-content: flex-end; + justify-content: center; } #{$self}__description, #{$self}__title { display: flex; - justify-content: flex-end; - text-align: right; + justify-content: flex-start; + text-align: left; > * { display: inline; } } #{$self}__buttons { display: flex; - justify-content: flex-end; + justify-content: flex-start; } } @@ -117,6 +116,20 @@ export default { } #{$self}__content { order: 1; + justify-content: center; + } + #{$self}__description, + #{$self}__title { + display: flex; + justify-content: flex-end; + text-align: right; + > * { + display: inline; + } + } + #{$self}__buttons { + display: flex; + justify-content: flex-end; } } @@ -125,7 +138,7 @@ export default { justify-content: center; #{$self}__content { - order: 1; + order: 0; justify-content: center; } #{$self}__description, @@ -142,10 +155,10 @@ export default { justify-content: center; } #{$self}__image { - order: 0; + order: 1; display: flex; justify-content: center; - margin-bottom: 1rem; + margin-top: 2rem; text-align: center; } } From 4cc1c14f8d9bd5d248febf9600efaf0fad4307c3 Mon Sep 17 00:00:00 2001 From: harmendv Date: Wed, 1 Nov 2023 21:14:25 +0100 Subject: [PATCH 3/4] Improve homepage --- src/docs/views/home.vue | 53 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/src/docs/views/home.vue b/src/docs/views/home.vue index a46c436a..44dc078b 100644 --- a/src/docs/views/home.vue +++ b/src/docs/views/home.vue @@ -1,6 +1,21 @@