Skip to content

Commit

Permalink
fix(AnalyticalCard): fix styling (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas742 authored Mar 18, 2020
1 parent db50f30 commit d19c256
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as spacing from '@ui5/webcomponents-react-base/lib/spacing';
const styles = {
card: {
backgroundColor: ThemingParameters.sapTile_Background,
border: `0.625rem solid ${ThemingParameters.sapTile_BorderColor}`,
border: `0.0625rem solid ${ThemingParameters.sapTile_BorderColor}`,
boxShadow: ThemingParameters.sapContent_Shadow0,
borderRadius: ThemingParameters.sapElement_BorderCornerRadius,
textAlign: 'start',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import * as spacing from '@ui5/webcomponents-react-base/lib/spacing';
import { ThemingParameters } from '@ui5/webcomponents-react-base/lib/ThemingParameters';

const styles = {
Expand All @@ -8,10 +9,11 @@ const styles = {
color: ThemingParameters.sapTextColor
},
cardHeader: {
paddingTop: '1rem',
paddingBottom: '1rem',
...spacing.sapUiContentPadding,
outlineOffset: '-0.125rem',
borderBottom: `0.0625rem solid ${ThemingParameters.sapTile_BorderColor}`,
boxShadow: ThemingParameters.sapContent_HeaderShadow,
//TODO use sapTile_SeparatorColor when available
borderBottom: `0.0625rem solid ${ThemingParameters.sapToolbar_SeparatorColor}`,
backgroundColor: ThemingParameters.sapTile_Background,
fontFamily: ThemingParameters.sapFontHeaderFamily,
'&:hover': {
Expand Down

0 comments on commit d19c256

Please sign in to comment.