Skip to content

Commit

Permalink
Merge pull request #3938 from brave/ca-6746-72
Browse files Browse the repository at this point in the history
[0.72.x] Make NTP widget size to fit content
  • Loading branch information
kjozwiak committed Nov 10, 2019
2 parents 39d5bbe + 9661926 commit 6314806
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ interface WidgetContainerProps {
export const StyledWidgetContainer = styled<WidgetContainerProps, 'div'>('div')`
display: ${p => p.showWidget ? 'flex' : 'none'};
align-items: center;
flex-direction: ${p => p.menuPosition === 'right' ? 'row' : 'row-reverse'}
flex-direction: ${p => p.menuPosition === 'right' ? 'row' : 'row-reverse'};
height: fit-content;
@media screen and (max-width: 1150px) {
flex-direction: row;
Expand Down

0 comments on commit 6314806

Please sign in to comment.