Skip to content

Commit

Permalink
[BUG] Fixing style overriding issue in dashboards core vizBuilder (#1451
Browse files Browse the repository at this point in the history
) (#1453)

* rename class names causing style overriding on visbuilder core dashboards



* update snapshots



---------


(cherry picked from commit 63a8806)

Signed-off-by: Eric <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 7e2d951 commit 403eece
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}
}

.vbConfig {
.logExplorerVisConfig {
@include euiYScrollWithShadows;

background: $euiColorLightestShade;
Expand Down Expand Up @@ -82,7 +82,7 @@
}
}

&.showSecondary > .vbConfig__section {
&.showSecondary > .logExplorerVisConfig__section {
transform: translateX(-100%);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ export const DataConfigPanelItem = ({
const selectedObj = isTimeStampSelected ? configList[SPAN] : configList[name][index];
const isAggregations = name === AGGREGATIONS;
return (
<div className={'vbConfig__section vbConfig--secondary'}>
<div className={'logExplorerVisConfig__section logExplorerVisConfig--secondary'}>
<div className="services">
<div className="first-division">
<DataConfigItemClickPanel
Expand Down Expand Up @@ -538,9 +538,9 @@ export const DataConfigPanelItem = ({
return isAddConfigClicked ? (
getCommonUI(selectedConfigItem.name)
) : (
<EuiForm className={'vbConfig'}>
<div className="vbConfig__section">
<div className="vbConfig__title">
<EuiForm className={'logExplorerVisConfig'}>
<div className="logExplorerVisConfig__section">
<div className="logExplorerVisConfig__title">
<EuiFlexGroup gutterSize="s" alignItems="center">
<EuiFlexItem>
<EuiTitle size="xxs">
Expand All @@ -550,7 +550,7 @@ export const DataConfigPanelItem = ({
</EuiFlexGroup>
</div>
{visualizations.vis.name !== VIS_CHART_TYPES.Histogram ? (
<div className="vbConfig__content">
<div className="logExplorerVisConfig__content">
<EuiSpacer size="s" />
{DataConfigPanelFields(getRenderFieldsObj(AGGREGATIONS))}
<EuiHorizontalRule margin="m" />
Expand All @@ -577,7 +577,7 @@ export const DataConfigPanelItem = ({
{getNumberField('bucketOffset')}
</>
)}
<div className="vbConfig__content">
<div className="logExplorerVisConfig__content">
<EuiFlexItem grow={false}>
<EuiButton
data-test-subj="visualizeEditorRenderButton"
Expand Down

0 comments on commit 403eece

Please sign in to comment.