Revert "Changed elements tag to output"

This reverts commit 01b11e1ac2.
This commit is contained in:
Peter Cottle 2022-10-10 14:34:25 -06:00
parent be8e52104b
commit e11d691480
2 changed files with 10 additions and 10 deletions

View file

@ -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>
{' '}
@ -69,7 +69,7 @@ class CommandView extends React.Component{
<div className="commandLineWarnings">
{this.renderFormattedWarnings()}
</div>
</output>
</div>
);
}
@ -104,9 +104,9 @@ class CommandView extends React.Component{
}
}
return (
<output className={'commandLineResult'}>
<div className={'commandLineResult'}>
{result}
</output>
</div>
);
}

View file

@ -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;
}
@ -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;