Skip to content

Commit a5dd2b7

Browse files
adjusted with marginTop (#2935)
* adjusted with marginTop Signed-off-by: msivasubramaniaan <msivasub@redhat.com> * positioned header middle of the box Signed-off-by: msivasubramaniaan <msivasub@redhat.com> --------- Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
1 parent c0d5474 commit a5dd2b7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/webview/common/cardItem.style.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ export default (_theme: Theme) =>
145145
flexDirection: 'column'
146146
},
147147
helmCardHeader: {
148-
paddingTop: '1.5rem!important',
149148
borderBottom: '1px solid',
150149
borderBottomColor: 'inherit',
151150
height: 'auto',

src/webview/helm-chart/app/cardItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ export class CardItem extends React.Component<DevFileProps, {
312312
alt={this.state.selectedVersion.icon + ' logo'}
313313
className={this.props.cardItemStyle.cardImage}
314314
style={{ margin: '0rem' }} />
315-
<div style={{ margin: '0rem' }}>
315+
<div style={{ marginTop: '0.6rem' }}>
316316
<Typography variant='subtitle1'>
317317
{
318318
capitalizeFirstLetter(this.props.helmEntry.displayName)
@@ -326,7 +326,7 @@ export class CardItem extends React.Component<DevFileProps, {
326326
installResponse.loadScreen && <LoadScreen title='Installation in Progress' type='circle' />
327327
}
328328
</div>
329-
<div style={{float: 'right'}}>
329+
<div style={{float: 'right', marginTop: '0.5rem'}}>
330330
<Button
331331
disabled={this.handleDisable() || installResponse.installed}
332332
variant='outlined'

0 commit comments

Comments
 (0)