Commit be2c63be authored by Lyza Danger Gardner's avatar Lyza Danger Gardner

Adjust CSS for thread layout improvements

Adjust CSS not contained within `Thread` to account for annotations
displayed within nested threads.
parent a661f34d
...@@ -117,15 +117,15 @@ function Annotation({ ...@@ -117,15 +117,15 @@ function Annotation({
{isEditing && <TagEditor onEditTags={onEditTags} tagList={tags} />} {isEditing && <TagEditor onEditTags={onEditTags} tagList={tags} />}
{!isEditing && <TagList annotation={annotation} tags={tags} />} {!isEditing && <TagList annotation={annotation} tags={tags} />}
<footer className="annotation__footer"> <footer className="annotation__footer">
<div className="annotation__form-actions"> {isEditing && (
{isEditing && ( <div className="annotation__form-actions">
<AnnotationPublishControl <AnnotationPublishControl
annotation={annotation} annotation={annotation}
isDisabled={isEmpty} isDisabled={isEmpty}
onSave={onSave} onSave={onSave}
/> />
)} </div>
</div> )}
{shouldShowLicense && <AnnotationLicense />} {shouldShowLicense && <AnnotationLicense />}
<div className="annotation__controls"> <div className="annotation__controls">
{shouldShowReplyToggle && ( {shouldShowReplyToggle && (
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
&__row { &__row {
display: flex; display: flex;
flex-wrap: wrap-reverse;
align-items: baseline; align-items: baseline;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment