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

Commit a2a7ddd

Browse files
authored
Merge pull request #9840 from luixxiul/compactBraveryPanel-polish
Fix bravery panel width from increasing
2 parents 3b314d6 + e185f62 commit a2a7ddd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

app/renderer/components/main/braveryPanel.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -935,14 +935,17 @@ const styles = StyleSheet.create({
935935
marginBottom: '.75rem'
936936
},
937937
braveryPanel_compact__body__ul: {
938-
padding: '0 .5rem',
939-
margin: '0 0 .75rem 0',
940-
wordBreak: 'break-all',
938+
padding: '0 .5rem 1rem',
939+
margin: '0 0 .25rem 0',
941940
maxHeight: '10vh'
942941
},
943942
braveryPanel_compact__body__ul__li: {
944943
padding: '5px 0',
945944

945+
// #9839: Avoid the panel width from increasing
946+
width: 0,
947+
whiteSpace: 'nowrap',
948+
946949
':first-of-type': {
947950
paddingTop: 0
948951
},

0 commit comments

Comments
 (0)