File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
issues/issue-layouts/properties Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ type Props = TDropdownProps & {
3535 closeOnSelect ?: boolean ;
3636 formatToken ?: string ;
3737 renderByDefault ?: boolean ;
38+ labelClassName ?: string ;
3839} ;
3940
4041export const DateDropdown = observer ( function DateDropdown ( props : Props ) {
@@ -62,6 +63,7 @@ export const DateDropdown = observer(function DateDropdown(props: Props) {
6263 value,
6364 formatToken,
6465 renderByDefault = true ,
66+ labelClassName = "" ,
6567 } = props ;
6668 // states
6769 const [ isOpen , setIsOpen ] = useState ( defaultOpen ) ;
@@ -138,7 +140,7 @@ export const DateDropdown = observer(function DateDropdown(props: Props) {
138140 >
139141 { ! hideIcon && icon }
140142 { BUTTON_VARIANTS_WITH_TEXT . includes ( buttonVariant ) && (
141- < span className = "flex-grow truncate text-left text-body-xs-medium" >
143+ < span className = { cn ( "flex-grow truncate text-left text-body-xs-medium" , labelClassName ) } >
142144 { value ? renderFormattedDate ( value , formatToken ) : placeholder }
143145 </ span >
144146 ) }
Original file line number Diff line number Diff line change @@ -327,6 +327,7 @@ export const IssueProperties = observer(function IssueProperties(props: IIssuePr
327327 disabled = { isReadOnly }
328328 renderByDefault = { isMobile }
329329 showTooltip
330+ labelClassName = "text-caption-sm-regular"
330331 />
331332 </ div >
332333 </ WithDisplayPropertiesHOC >
@@ -351,6 +352,7 @@ export const IssueProperties = observer(function IssueProperties(props: IIssuePr
351352 disabled = { isReadOnly }
352353 renderByDefault = { isMobile }
353354 showTooltip
355+ labelClassName = "text-caption-sm-regular"
354356 />
355357 </ div >
356358 </ WithDisplayPropertiesHOC >
You can’t perform that action at this time.
0 commit comments