From e60e5a99261b062aa16a3f4e5e398d94ab49aa70 Mon Sep 17 00:00:00 2001
From: Kareem Dabbeet <42810389+KareemDa@users.noreply.github.com>
Date: Wed, 15 Jun 2022 16:13:56 +0300
Subject: [PATCH] docs(flex): switch examples to plain markup (#14559)
---
.../src/examples/flex/flex-align-self.vue | 114 +++++++++++++-----
.../docs/src/examples/flex/flex-order.vue | 33 +----
.../src/examples/flex/margins-align-items.vue | 31 ++---
packages/docs/src/examples/flex/margins.vue | 59 +++------
4 files changed, 112 insertions(+), 125 deletions(-)
diff --git a/packages/docs/src/examples/flex/flex-align-self.vue b/packages/docs/src/examples/flex/flex-align-self.vue
index ff9f8eea557..7d5d6db90dc 100644
--- a/packages/docs/src/examples/flex/flex-align-self.vue
+++ b/packages/docs/src/examples/flex/flex-align-self.vue
@@ -1,39 +1,87 @@
-
-
- {{ n === 2 ? 'Aligned flex item' : 'Flex item' }}
+
+
+ flex item
+
+
+
+ Aligned start
+
+
+
+ flex item
+
+
+
+
+
+ flex item
+
+
+
+ Aligned center
+
+
+
+ flex item
+
+
+
+
+
+ flex item
+
+
+
+ Aligned end
+
+
+
+ flex item
+
+
+
+
+
+ flex item
+
+
+
+ Aligned baseline
+
+
+
+ flex item
+
+
+
+
+
+ flex item
+
+
+
+ Aligned auto
+
+
+
+ flex item
+
+
+
+
+
+ flex item
+
+
+
+ Aligned stretch
+
+
+
+ flex item
-
-
diff --git a/packages/docs/src/examples/flex/flex-order.vue b/packages/docs/src/examples/flex/flex-order.vue
index d04da7a8240..fc5bc23bade 100644
--- a/packages/docs/src/examples/flex/flex-order.vue
+++ b/packages/docs/src/examples/flex/flex-order.vue
@@ -1,32 +1,11 @@
-
-
- First flex item
-
-
- Second flex item
-
-
- Third flex item
-
+
+ First flex item
+
+ Second flex item
+
+ Third flex item
diff --git a/packages/docs/src/examples/flex/margins-align-items.vue b/packages/docs/src/examples/flex/margins-align-items.vue
index ebf31ca8819..6130fc01728 100644
--- a/packages/docs/src/examples/flex/margins-align-items.vue
+++ b/packages/docs/src/examples/flex/margins-align-items.vue
@@ -7,17 +7,13 @@
tile
height="200"
>
-
- Flex item
-
+ Flex item
+
+ Flex item
+
+ Flex item
+
-
- Flex item
-
+ Flex item
+
+ Flex item
+
+ Flex item
diff --git a/packages/docs/src/examples/flex/margins.vue b/packages/docs/src/examples/flex/margins.vue
index 3023e5659cc..eb2f8ab5bb6 100644
--- a/packages/docs/src/examples/flex/margins.vue
+++ b/packages/docs/src/examples/flex/margins.vue
@@ -1,56 +1,25 @@
-
-
+
+
Flex item
-
-
- Flex item
-
+
+ Flex item
+
+ Flex item
+
+ Flex item
-
-
- Flex item
-
+
+ Flex item
+
+ Flex item
+
+ Flex item