diff --git a/CHANGELOG.md b/CHANGELOG.md
index d5a424a..26e09b7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,10 @@ instead of version numbers.
## 2025-01-15
* Prevent repeating password in full-name field when signing up for account
+* Fix clipping of Rotate and File dropdowns above image
+ [[#627](https://github.com/edemaine/coauthor/issues/627)]
+ by moving them after description preview
+ (also improving side-by-side preview)
## 2024-08-12
diff --git a/client/message.coffee b/client/message.coffee
index af48346..42dfb7c 100644
--- a/client/message.coffee
+++ b/client/message.coffee
@@ -2839,39 +2839,38 @@ export WrappedSubmessage = React.memo ({message, read}) ->
}
{if preview.on
- <>
- {if historified.file and editing
-
- }
-
- {if messageFileType == 'pdf'
-
- }
- {if historified.file
- <>
-
-
- >
- }
-
- >}
+ }
{if previewSideBySide
}
+ {if historified.file and editing
+
+ }
+
+ {if messageFileType == 'pdf'
+
+ }
+ {if historified.file
+ <>
+
+
+ >
+ }
+
diff --git a/client/message.styl b/client/message.styl
index e86ff3b..b9d8ba2 100644
--- a/client/message.styl
+++ b/client/message.styl
@@ -194,9 +194,11 @@ bootstrap-3-button(bg-color) // based on mixins/buttons.less
justify-content: space-between
align-items: center
padding-block: 0.5ex
-.bodyContainer > .fileDescription:first-child
+.editorAndBody + .fileDescription
+ border-top: 1px solid #337ab7
+.editorAndBody + .fileDescription, .resizer + .fileDescription
padding-inline: 15px
- border-bottom: 1px solid #337ab7
+ padding-top: 0.5em
.fileDescriptionText
flex-grow: 1
.file-right-buttons