Skip to content

Commit

Permalink
fix: make refresh button container full widh + height
Browse files Browse the repository at this point in the history
  • Loading branch information
collinlokken committed Feb 2, 2024
1 parent d6df1ee commit da80332
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/dm-core/src/components/EntityView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ export const EntityView = (props: IEntityView): React.ReactElement => {
? '1px solid #5c5c5c'
: '1px solid transparent',
borderRadius: hoverRefresh ? '4px' : '0',
width: '100%',
height: '100%',
}}
key={reloadCounter}
>
Expand All @@ -95,7 +97,13 @@ export const EntityView = (props: IEntityView): React.ReactElement => {
}}
/>
)}
<div style={{ opacity: hoverRefresh ? 0.6 : 1 }}>
<div
style={{
opacity: hoverRefresh ? 0.6 : 1,
width: '100%',
height: '100%',
}}
>
<MemoizedUiPlugin
getPlugin={getUiPlugin}
recipe={recipe}
Expand Down

0 comments on commit da80332

Please sign in to comment.