Skip to content

Commit 9357b0d

Browse files
chrisbobbegnprice
authored andcommitted
ComposeBox [nfc]: Comment on some style overrides
1 parent cd76b23 commit 9357b0d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/compose/ComposeBox.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,10 @@ const ComposeBox: React$AbstractComponent<Props, ImperativeHandle> = forwardRef(
666666
opacity: submitButtonDisabled ? 0.25 : 1,
667667
},
668668
topicInput: {
669+
// These border attributes override styles set in <Input />.
669670
borderWidth: 0,
670671
borderRadius: 5,
672+
671673
marginBottom: 8,
672674
...inputMarginPadding,
673675
backgroundColor,
@@ -684,8 +686,10 @@ const ComposeBox: React$AbstractComponent<Props, ImperativeHandle> = forwardRef(
684686
...(!canSelectTopic && { position: 'absolute', transform: [{ scale: 0 }] }),
685687
},
686688
composeTextInput: {
689+
// These border attributes override styles set in <Input />.
687690
borderWidth: 0,
688691
borderRadius: 5,
692+
689693
fontSize: 15,
690694
flexShrink: 1,
691695
...inputMarginPadding,

0 commit comments

Comments
 (0)