From 49d286d698ffd72fe5913bbede4057d8f48f906d Mon Sep 17 00:00:00 2001 From: Tom <46689196+a-toms@users.noreply.github.com> Date: Tue, 23 May 2023 17:09:20 +0200 Subject: [PATCH] Add margin style in component to improve clarity Change: Added minor styling in the component to show margins for each nested layer. Adding this necessary style to the component definition makes things neater. Experience: I copied the example and had to work to discover why the li has no margin. --- example/components/infra/nested.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/example/components/infra/nested.vue b/example/components/infra/nested.vue index cc76766..f0c3f31 100644 --- a/example/components/infra/nested.vue +++ b/example/components/infra/nested.vue @@ -35,4 +35,7 @@ export default { min-height: 50px; outline: 1px dashed; } +li { + margin-left: 1em; +}