Skip to content

Commit

Permalink
fix(dashboard): update styling for model based query editor
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuss authored and diehbria committed Nov 21, 2023
1 parent ef3fc4e commit cb0d969
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@

.reset-selected-asset-model-vertical-divider {
align-self: stretch;
height: "initial";
height: initial;
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';

import Box from '@cloudscape-design/components/box';
import Icon from '@cloudscape-design/components/icon';
import Button from '@cloudscape-design/components/button';

import { spaceScaledXxs } from '@cloudscape-design/design-tokens';
Expand All @@ -16,6 +15,8 @@ import { useAsset } from '../../../modeledDataStreamQueryEditor/assetExplorer/us
import { useModalVisibility } from '~/hooks/useModalVisibility';
import { ResetAssetModelModal } from './resetAssetModel/resetAssetModelModal';

import { default as assetModelSvg } from './assetModelIcon.svg';

import './assetModelSelected.css';

const describedAssetToAssetSummary = (
Expand Down Expand Up @@ -64,7 +65,7 @@ export const AssetModelSelected = ({
gap: spaceScaledXxs,
}}
>
<Icon name='heart' />
<img src={assetModelSvg} alt='Selected asset model icon' />
<VerticalDivider classNames={['reset-selected-asset-model-vertical-divider']} />
<Box fontWeight='bold' variant='span'>
Asset Model:
Expand Down

0 comments on commit cb0d969

Please sign in to comment.