Skip to content

Commit

Permalink
custom border style fix as shorthand border property was overriding c…
Browse files Browse the repository at this point in the history
…ustom border-top etc. properties
  • Loading branch information
OvidijusParsiunas committed Dec 12, 2024
1 parent f94c280 commit 3306d26
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion component/src/utils/webComponent/webComponentStyleUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ export class WebComponentStyleUtils {
private static readonly DEFAULT_COMPONENT_STYLE: Partial<CSSStyleDeclaration> = {
height: '350px',
width: '320px',
border: '1px solid #cacaca',
borderTop: '1px solid #cacaca',
borderRight: '1px solid #cacaca',
borderLeft: '1px solid #cacaca',
borderBottom: '1px solid #cacaca',
fontFamily: GoogleFont.DEFAULT_FONT_FAMILY,
fontSize: '0.9rem',
backgroundColor: 'white',
Expand Down

0 comments on commit 3306d26

Please sign in to comment.