Skip to content

Commit

Permalink
Revert "Changed elements tag to output"
Browse files Browse the repository at this point in the history
This reverts commit 01b11e1.
  • Loading branch information
Peter Cottle committed Oct 10, 2022
1 parent be8e521 commit e11d691
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions src/js/react_views/CommandView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class CommandView extends React.Component{
]);

return (
<output id={this.props.id} className="reactCommandView">
<div id={this.props.id} className="reactCommandView">
<p className={commandClass}>
<span className="prompt">{'$'}</span>
{' '}
Expand All @@ -69,7 +69,7 @@ class CommandView extends React.Component{
<div className="commandLineWarnings">
{this.renderFormattedWarnings()}
</div>
</output>
</div>
);
}

Expand Down Expand Up @@ -104,9 +104,9 @@ class CommandView extends React.Component{
}
}
return (
<output className={'commandLineResult'}>
<div className={'commandLineResult'}>
{result}
</output>
</div>
);
}

Expand Down
12 changes: 6 additions & 6 deletions src/style/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -493,28 +493,28 @@ div.controls div.box.flex1 div.plus {
}

/* Command Line */
output.reactCommandView p.commandLine i {
div.reactCommandView p.commandLine i {
margin: 0 5px;
}

p.commandLine,
output.commandLineResult {
div.commandLineResult {
opacity: 1;
font-size: 1em;
margin: 0px;
}

div.commandLineWarnings p,
output.commandLineResult p {
div.commandLineResult p {
margin: 0px;
}

output.commandLineResult p:first-child,
div.commandLineResult p:first-child,
div.commandLineWarnings p:first-child {
padding-top: 8px;
}

output.commandLineResult p:last-child,
div.commandLineResult p:last-child,
div.commandLineWarnings p:last-child {
padding-bottom: 8px;
}
Expand All @@ -536,7 +536,7 @@ p.commandLine span.icons i:first-child {
margin-left: 5px;
}

output.reactCommandView p.commandLine span.icons i:first-child {
div.reactCommandView p.commandLine span.icons i:first-child {
margin-left: 4px;
position: relative;
left: 1px;
Expand Down

0 comments on commit e11d691

Please sign in to comment.