Skip to content

Commit

Permalink
fix(framework)!: remove full width on label
Browse files Browse the repository at this point in the history
closed DEV-9208

Previousely the width of the label component was set to
100%, this was confusing for developers as it behaved differnetly
from other typography component.
  • Loading branch information
SebCodesTheWeb committed Sep 21, 2023
1 parent ed825b4 commit 81788c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions framework/lib/theme/components/typography/labels/label.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import { merge } from 'ramda'
export const Label: ComponentSingleStyleConfig = {
baseStyle: ({ theme: { sizes: sizing }, sx }) => merge({
color: 'inherit',
width: '100%',
maxWidth: '100%',
marginBottom: sizing[0],
marginInlineStart: sizing[0],
marginEnd: sizing[0],
Expand Down

0 comments on commit 81788c4

Please sign in to comment.