From f2811e1d8daa486a1d73ce7e70ca9233ab3d0828 Mon Sep 17 00:00:00 2001 From: Dragos Cristian Bute Date: Thu, 21 Sep 2023 15:46:06 +0300 Subject: [PATCH] Removed horizontal-list --- blocks/horizontal-list/horizontal-list.css | 43 ---------------------- blocks/horizontal-list/horizontal-list.js | 17 --------- 2 files changed, 60 deletions(-) delete mode 100644 blocks/horizontal-list/horizontal-list.css delete mode 100644 blocks/horizontal-list/horizontal-list.js diff --git a/blocks/horizontal-list/horizontal-list.css b/blocks/horizontal-list/horizontal-list.css deleted file mode 100644 index 8da81d43..00000000 --- a/blocks/horizontal-list/horizontal-list.css +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright 2023 Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -.horizontal-list ul { - list-style-type: none; - margin: 0; - padding: 0; - overflow: hidden; -} - -.horizontal-list.careers-tags ul { - font-size: var(--body-font-size-xs); -} - -.horizontal-list li { - display: inline-block; - margin-right: 1rem; - text-align: center; -} - -.horizontal-list li::before { - display: inline-block; - content: ''; - background: inherit; - background-color: var(--text-color); - height: 0.75rem; - width: 0.75rem; - margin-right: 0.25rem; - border-radius: 50%; -} - -.horizontal-list li:last-child { - margin-right: 0; -} diff --git a/blocks/horizontal-list/horizontal-list.js b/blocks/horizontal-list/horizontal-list.js deleted file mode 100644 index 277f12c4..00000000 --- a/blocks/horizontal-list/horizontal-list.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright 2023 Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -export default function decorate(block) { - const list = block.children[0].children[0].children[0]; - - block.replaceChildren(list); -}