From ea9fb9815f35690cd1fc79189c92d0aaa30a8879 Mon Sep 17 00:00:00 2001 From: Arjun Date: Tue, 31 Jan 2023 12:57:09 +0530 Subject: [PATCH] Move Border box to the non solution part --- flex/07-flex-layout-2/solution/solution.css | 2 +- flex/07-flex-layout-2/style.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/flex/07-flex-layout-2/solution/solution.css b/flex/07-flex-layout-2/solution/solution.css index eb082a3..6355f53 100644 --- a/flex/07-flex-layout-2/solution/solution.css +++ b/flex/07-flex-layout-2/solution/solution.css @@ -19,6 +19,7 @@ body { .sidebar { width: 300px; background: royalblue; + box-sizing: border-box; } .card { @@ -50,7 +51,6 @@ body { .sidebar { flex-shrink: 0; padding: 16px; - box-sizing: border-box; } ul { diff --git a/flex/07-flex-layout-2/style.css b/flex/07-flex-layout-2/style.css index 7516f6b..6caf04c 100644 --- a/flex/07-flex-layout-2/style.css +++ b/flex/07-flex-layout-2/style.css @@ -19,6 +19,7 @@ body { .sidebar { width: 300px; background: royalblue; + box-sizing: border-box; } .card {