Skip to content

Commit

Permalink
fix: condition builder style issues (#6724)
Browse files Browse the repository at this point in the history
* fix: condition builder style issues

* fix: condition builder style issues2
  • Loading branch information
amal-k-joy authored Jan 22, 2025
1 parent df21099 commit 37dba95
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
// The block part of our conventional BEM class names (blockClass__E--M).
$block-class: #{c4p-settings.$pkg-prefix}--condition-builder;

// .#{$block-class} {
// // TODO: Styles.
// }
.#{$block-class} {
padding: $spacing-06;
}
.#{$block-class}__condition-builder__group {
display: flex;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,9 @@ export const ItemOptionForValueField = ({

{multiSelectable && (
<div className={`${blockClass}__multiselectSelectionStatusContainer`}>
<h4>
<label>
{selection.length}/{allOptions.length} Selected
</label>
</h4>
<label>
{selection.length}/{allOptions.length} Selected
</label>
<Button
kind={'ghost'}
size={'sm'}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
//

@forward '../../../../ibm-products-styles/src/global/styles/project-settings';
@use '@carbon/styles/scss/spacing' as *;
@use 'ALIAS_STORY_STYLE_CONFIG' as c4p-settings;

// The block part of our conventional BEM class names (blockClass__E--M).
$block-class: #{c4p-settings.$pkg-prefix}--condition-builder;

// TODO: add any additional styles used by ConditionBuilder.stories.js
.#{$block-class} {
padding: $spacing-06;
}

0 comments on commit 37dba95

Please sign in to comment.