Skip to content

Commit

Permalink
Merge pull request #3335 from LD4P/out-link-position
Browse files Browse the repository at this point in the history
Keep the link button on the same line as the URL field
  • Loading branch information
justinlittman authored Nov 17, 2021
2 parents 16c9cad + cf84a38 commit 6807a1f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/editor/inputs/InputURIValue.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const InputURIValue = ({
<label htmlFor={uriId} className="col-sm-1 col-form-label">
URI
</label>
<div className="col-sm-11">
<div className="col-sm-10">
<TextareaAutosize
required={propertyTemplate.required}
className={uriControlClasses.join(" ")}
Expand All @@ -146,8 +146,8 @@ const InputURIValue = ({
{uriErrors.join(", ")}
</div>
</div>
{showLink && (
<div className="col-md-auto d-flex align-items-end pb-2 ps-0">
<div className="col-md-auto d-flex align-items-end pb-2 ps-0">
{showLink && (
<a
href={currentURIContent}
target="_blank"
Expand All @@ -160,8 +160,8 @@ const InputURIValue = ({
icon={faExternalLinkAlt}
/>
</a>
</div>
)}
)}
</div>
</div>

<div className="row my-2">
Expand Down

0 comments on commit 6807a1f

Please sign in to comment.