From a03212d7b4910f89bf1db7a104841725a73d885b Mon Sep 17 00:00:00 2001 From: Sisha3342 Date: Thu, 19 May 2022 09:53:57 +0300 Subject: [PATCH] fix(page): remove global .main styles from example --- pages/views/samples/multiple_playgrounds.njk | 141 +++++++++--------- pages/views/samples/playground.njk | 28 ++-- .../styles/samples/multiple_playgrounds.less | 6 +- 3 files changed, 86 insertions(+), 89 deletions(-) diff --git a/pages/views/samples/multiple_playgrounds.njk b/pages/views/samples/multiple_playgrounds.njk index 12a222a7..96df19f4 100644 --- a/pages/views/samples/multiple_playgrounds.njk +++ b/pages/views/samples/multiple_playgrounds.njk @@ -1,77 +1,78 @@ --- title: Example with multiple playgrounds --- +
+
+

USER CARD

+

+ User card is a component for displaying user's info. + Can be in rectangle/rounded styles with multiple + colors supported. +

+
-
-

USER CARD

-

- User card is a component for displaying user's info. - Can be in rectangle/rounded styles with multiple - colors supported. -

-
+ + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - +
+

USER LIST

+

+ User list is a component for displaying multiple users' info. + Can manually wrap list items on new lines. +

+
-
-

USER LIST

-

- User list is a component for displaying multiple users' info. - Can manually wrap list items on new lines. -

+ + + + + + + + + + + + + + + + + +
- - - - - - - - - - - - - - - - - - - diff --git a/pages/views/samples/playground.njk b/pages/views/samples/playground.njk index ed09283a..e0758eec 100644 --- a/pages/views/samples/playground.njk +++ b/pages/views/samples/playground.njk @@ -15,25 +15,25 @@ title: Example with playground - + @@ -45,9 +45,9 @@ title: Example with playground diff --git a/pages/views/styles/samples/multiple_playgrounds.less b/pages/views/styles/samples/multiple_playgrounds.less index 766fbf61..4370b466 100644 --- a/pages/views/styles/samples/multiple_playgrounds.less +++ b/pages/views/styles/samples/multiple_playgrounds.less @@ -1,7 +1,3 @@ -.main { - display: block; -} - .component-section { margin: 2rem 0; font-family: sans-serif; @@ -9,4 +5,4 @@ .component-title { margin-bottom: 1rem; } -} \ No newline at end of file +}