diff --git a/assets/css/admin.css b/assets/css/admin.css index 040ad3b..42e7ff1 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -19,29 +19,23 @@ min-height: 150px; } -/* Hide composable-specific elements by default */ -.show_if_composable { - display: none !important; +/* Hide composable-specific elements by default (but not tabs) */ +.options_group.show_if_composable { + display: none; } /* Show composable elements when composable product type is selected */ -body.product-type-composable .show_if_composable, -.product-type-composable .show_if_composable { - display: block !important; -} - -/* Ensure General tab fields don't show in Composable Options panel initially */ -#composable_product_data .options_group { +body.product-type-composable .options_group.show_if_composable { display: block; } /* Hide the Composable Options tab link by default */ -.product_data_tabs .composable_options { +.product_data_tabs li.composable_options { display: none; } /* Show the Composable Options tab when composable type selected */ -body.product-type-composable .product_data_tabs .composable_options { +body.product-type-composable .product_data_tabs li.composable_options { display: block; }