From 53011b961bf322797b3e8fdd354a9558e91652c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?=
 =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?=
 <erik@darapsa.co.id>
Date: Thu, 30 Mar 2023 12:31:37 +0800
Subject: Fix sidebar margins & spacings

---
 Course/Detail/Classic/Content/Sidebar/Video.ui.qml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

(limited to 'Course/Detail')

diff --git a/Course/Detail/Classic/Content/Sidebar/Video.ui.qml b/Course/Detail/Classic/Content/Sidebar/Video.ui.qml
index d9a78d1..5e6e155 100644
--- a/Course/Detail/Classic/Content/Sidebar/Video.ui.qml
+++ b/Course/Detail/Classic/Content/Sidebar/Video.ui.qml
@@ -18,6 +18,7 @@ ColumnLayout {
 	property alias time: time
 	property alias trial: trial
 	property alias buy: buy
+	spacing: 16
 
 	Image {
 		id: image
@@ -58,15 +59,16 @@ ColumnLayout {
 	}
 
 	ColumnLayout {
+		Layout.topMargin: 0
+		Layout.margins: 16
 
 		RowLayout {
-			Layout.topMargin: 16
-			Layout.bottomMargin: 16
 
 			ColumnLayout {
-				spacing: 8
+				spacing: 0
 
 				RowLayout {
+					spacing: 8
 
 					Lbl.H3 {
 						text: priceText
@@ -109,6 +111,7 @@ ColumnLayout {
 
 				RowLayout {
 					id: time
+					spacing: 8
 
 					Lbl.Body {
 						text: qsTr("5 days left at this price")
@@ -120,8 +123,6 @@ ColumnLayout {
 
 		RowLayout {
 			Layout.topMargin: 16
-			Layout.fillWidth: true
-			spacing: 16
 
 			BtnOutline.Primary {
 				id: trial
-- 
cgit v1.2.3