Skip to content

Commit

Permalink
Fix retention warning runoff (keybase#22678)
Browse files Browse the repository at this point in the history
* fix retention warning runoff

* story

* other way

* story

* critical
  • Loading branch information
mlsteele authored Feb 21, 2020
1 parent f326346 commit 2f7a8c1
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
30 changes: 30 additions & 0 deletions shared/stories/__tests__/__snapshots__/Storyshots.test.js.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion shared/teams/team/settings-tab/retention/warning/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const RetentionWarning = (props: Props) => {
style={styles.checkboxStyle}
label=""
labelComponent={
<Kb.Box2 direction="vertical" alignItems="flex-start">
<Kb.Box2 direction="vertical" alignItems="flex-start" style={styles.label}>
<Kb.Text type="Body">
I understand that messages older than {props.timePeriod} will be deleted for everyone.
</Kb.Text>
Expand Down Expand Up @@ -128,6 +128,7 @@ const styles = Styles.styleSheetCreate(() => ({
}),
headerStyle: {marginBottom: Styles.globalMargins.small},
iconStyle: {marginBottom: 20},
label: {flexShrink: 1},
scrollContainer: {
...Styles.globalStyles.flexBoxCenter,
flex: 1,
Expand Down

0 comments on commit 2f7a8c1

Please sign in to comment.