diff --git a/src/views/icons/index.vue b/src/views/icons/index.vue index 3677afd6..33fab3a3 100644 --- a/src/views/icons/index.vue +++ b/src/views/icons/index.vue @@ -6,30 +6,34 @@ -
- -
- {{ generateIconCode(item) }} -
-
- - {{ item }} -
-
-
+
+
+ +
+ {{ generateIconCode(item) }} +
+
+ + {{ item }} +
+
+
+
-
- -
- {{ generateElementIconCode(item) }} -
-
- - {{ item }} -
-
-
+
+
+ +
+ {{ generateElementIconCode(item) }} +
+
+ + {{ item }} +
+
+
+
@@ -66,6 +70,12 @@ export default { .icons-container { margin: 10px 20px 0; overflow: hidden; + + .grid { + position: relative; + display: grid; + grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); + } .icon-item { margin: 20px;