Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #8646 from luixxiul/fix-commonForm-width-height
Browse files Browse the repository at this point in the history
Fix bookmark hanger dialog overflow
  • Loading branch information
NejcZdovc authored May 5, 2017
2 parents e15b6bd + ddd069b commit f0ed2a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/renderer/components/common/commonForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ const styles = StyleSheet.create({
cursor: 'default',
width: '100%',
maxWidth: globalStyles.spacing.dialogWidth,
minWidth: '310px',
height: 'auto',
maxHeight: '100vh', // #8634: commonStyles.flyoutDialog,
userSelect: 'none'

// Need a general solution
Expand All @@ -159,6 +162,7 @@ const styles = StyleSheet.create({

commonFormBookmarkHanger: {
maxWidth: globalStyles.spacing.bookmarkHangerMaxWidth,
height: 'initial', // #8634

// Cancel the inherited value from .navbarMenubarFlexContainer, which is 'nowrap'.
whiteSpace: 'normal'
Expand Down

0 comments on commit f0ed2a1

Please sign in to comment.