Skip to content

Commit

Permalink
fix: condition builder style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
amal-k-joy committed Jan 17, 2025
1 parent df21099 commit fa5a8ba
Show file tree
Hide file tree
Showing 3 changed files with 14 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 All @@ -52,6 +46,9 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
width: fit-content;
flex-direction: row;
}
// .#{$block-class}__condition-block:hover button:not([data-name="connectorField"]) {
// background-color: red;
// }
.#{$block-class}__content-container {
display: flex;
flex-direction: column;
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 fa5a8ba

Please sign in to comment.