mirror of
https://github.com/KevinMidboe/planetposen-frontend.git
synced 2025-10-29 05:10:11 +00:00
Specific style reference to parent element by class
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<ul>
|
||||
<ul class="product-variations">
|
||||
{#each variations as variation}
|
||||
<li
|
||||
class="{`variation ${variation.sku_id === selectedVariation?.sku_id && 'selected'}`}"
|
||||
@@ -37,7 +37,7 @@
|
||||
</ul>
|
||||
|
||||
<style lang="scss">
|
||||
ul {
|
||||
ul.product-variations {
|
||||
list-style-type: none;
|
||||
padding-left: 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user