File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed 
core/src/components/datetime Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1524,6 +1524,8 @@ export class Datetime implements ComponentInterface {
15241524     * is disabled or readonly. 
15251525     */ 
15261526    const  isButtonDisabled  =  disabled  ||  readonly ; 
1527+     const  expand  =  theme  ===  'ionic'  ? 'block'  : undefined ; 
1528+     const  confirmFill  =  theme  ===  'ionic'  ? 'solid'  : undefined ; 
15271529    const  hasSlottedButtons  =  this . el . querySelector ( '[slot="buttons"]' )  !==  null ; 
15281530    if  ( ! hasSlottedButtons  &&  ! showDefaultButtons  &&  ! showClearButton )  { 
15291531      return ; 
@@ -1558,7 +1560,7 @@ export class Datetime implements ComponentInterface {
15581560                    color = { this . color } 
15591561                    onClick = { ( )  =>  this . cancel ( true ) } 
15601562                    disabled = { isButtonDisabled } 
1561-                     expand = { theme   ===   'ionic'  ?  'full'  :  undefined } 
1563+                     expand = { expand } 
15621564                  > 
15631565                    { this . cancelText } 
15641566                  </ ion-button > 
@@ -1570,7 +1572,7 @@ export class Datetime implements ComponentInterface {
15701572                      color = { this . color } 
15711573                      onClick = { ( )  =>  clearButtonClick ( ) } 
15721574                      disabled = { isButtonDisabled } 
1573-                       expand = { theme   ===   'ionic'  ?  'full'  :  undefined } 
1575+                       expand = { expand } 
15741576                    > 
15751577                      { this . clearText } 
15761578                    </ ion-button > 
@@ -1581,8 +1583,8 @@ export class Datetime implements ComponentInterface {
15811583                      color = { this . color } 
15821584                      onClick = { ( )  =>  this . confirm ( true ) } 
15831585                      disabled = { isButtonDisabled } 
1584-                       expand = { theme   ===   'ionic'  ?  'full'  :  undefined } 
1585-                       fill = { theme   ===   'ionic'  ?  'solid'  :  undefined } 
1586+                       expand = { expand } 
1587+                       fill = { confirmFill } 
15861588                    > 
15871589                      { this . doneText } 
15881590                    </ ion-button > 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments