Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3178217
D3666.id11876.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
D3666.id11876.diff
View Options
diff --git a/web/modals/modal.css b/web/modals/modal.css
--- a/web/modals/modal.css
+++ b/web/modals/modal.css
@@ -9,17 +9,12 @@
display: flex;
flex-direction: column;
align-items: center;
+ justify-content: center;
overflow: auto;
}
div.resizable-modal-overlay {
min-height: 60px;
}
-div.small-modal-overlay {
- padding-top: 100px;
-}
-div.large-modal-overlay {
- padding-top: 50px;
-}
div.modal-container {
background: var(--bg);
background-size: 3000px 2000px;
diff --git a/web/modals/modal.react.js b/web/modals/modal.react.js
--- a/web/modals/modal.react.js
+++ b/web/modals/modal.react.js
@@ -40,12 +40,9 @@
withCloseButton = false,
} = this.props;
- const overlayClasses = classNames(
- css['modal-overlay'],
- { [css['small-modal-overlay']]: size === 'small' },
- { [css['large-modal-overlay']]: size === 'large' },
- { [css['resizable-modal-overlay']]: !fixedHeight },
- );
+ const overlayClasses = classNames(css['modal-overlay'], {
+ [css['resizable-modal-overlay']]: !fixedHeight,
+ });
const modalContainerClasses = classNames(css['modal-container'], {
[css['large-modal-container']]: size === 'large',
});
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 9, 1:16 AM (21 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2447201
Default Alt Text
D3666.id11876.diff (1 KB)
Attached To
Mode
D3666: [web] Center modals vertically
Attached
Detach File
Event Timeline
Log In to Comment