Skip to content

Commit

Permalink
Minor appearance issues (editor font size, commas between group admins).
Browse files Browse the repository at this point in the history
  • Loading branch information
krulis-martin committed Oct 3, 2021
1 parent 4d27761 commit 3836dee
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/components/forms/Fields/SourceCodeField.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const SourceCodeField = ({
minLines={5}
maxLines={20}
readOnly={readOnly}
fontSize={16}
onBlur={
() => input.onBlur() // this is a hack that will ensure blur call witout distorting the contents
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const SourceCodeViewer = ({ name, content = '' }) =>
name="source-code-viewer"
width="100%"
height="100%"
fontSize={16}
editorProps={{ $blockScrolling: true, $autoScrollEditorIntoView: true }}
/>
)}
Expand Down
10 changes: 5 additions & 5 deletions src/containers/GroupsNameContainer/GroupsNameContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ class GroupsNameContainer extends Component {
{admins && group.primaryAdminsIds.length > 0 && (
<small className="half-opaque ml-3">
(
{group.primaryAdminsIds.map(id => (
<em key={id}>
<UsersNameContainer userId={id} isSimple />
</em>
))}
<em>
{group.primaryAdminsIds.map(id => (
<UsersNameContainer key={id} userId={id} isSimple />
))}
</em>
)
</small>
)}
Expand Down

0 comments on commit 3836dee

Please sign in to comment.