Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3525982
D8207.id27993.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D8207.id27993.diff
View Options
diff --git a/web/components/message-result.css b/web/components/message-result.css
--- a/web/components/message-result.css
+++ b/web/components/message-result.css
@@ -1,7 +1,6 @@
.messageContainer {
border: 1px solid var(--pin-message-modal-border-color);
border-radius: 7px;
- margin: 0 32px 16px 32px;
}
.messageContainerOverflow {
diff --git a/web/modals/chat/message-results-modal.css b/web/modals/chat/message-results-modal.css
--- a/web/modals/chat/message-results-modal.css
+++ b/web/modals/chat/message-results-modal.css
@@ -9,7 +9,11 @@
.messageResultsContainer {
overflow-y: scroll;
- padding-bottom: 8px;
+ padding: 0 32px 8px 32px;
+}
+
+.messageResultsContainer > * {
+ margin-bottom: 16px;
}
.loadingIndicator {
diff --git a/web/modals/chat/toggle-pin-modal.css b/web/modals/chat/toggle-pin-modal.css
--- a/web/modals/chat/toggle-pin-modal.css
+++ b/web/modals/chat/toggle-pin-modal.css
@@ -28,3 +28,7 @@
cursor: pointer;
text-decoration: underline;
}
+
+.messageContainer {
+ margin: 24px;
+}
diff --git a/web/modals/chat/toggle-pin-modal.react.js b/web/modals/chat/toggle-pin-modal.react.js
--- a/web/modals/chat/toggle-pin-modal.react.js
+++ b/web/modals/chat/toggle-pin-modal.react.js
@@ -102,11 +102,13 @@
return (
<Modal name={modalInfo.name} onClose={popModal} size="large">
<div className={css.confirmationText}>{modalInfo.confirmationText}</div>
- <MessageResult
- item={modifiedItem}
- threadInfo={threadInfo}
- scrollable={true}
- />
+ <div className={css.messageContainer}>
+ <MessageResult
+ item={modifiedItem}
+ threadInfo={threadInfo}
+ scrollable={true}
+ />
+ </div>
<div className={css.buttonContainer}>
<Button
variant="filled"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 7:04 PM (8 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2699947
Default Alt Text
D8207.id27993.diff (1 KB)
Attached To
Mode
D8207: [web] Change how margins / paddings are used in message result
Attached
Detach File
Event Timeline
Log In to Comment