mirror of
https://github.com/minio/minio.git
synced 2025-05-05 08:46:43 -04:00
add preview width constraint (#10062)
* fix: add preview width constraint * fix: set object item dropdown menu nowrap style
This commit is contained in:
parent
48aebf2d9d
commit
1341bf5a9e
@ -46,7 +46,7 @@ class PreviewObjectModal extends React.Component {
|
|||||||
<ModalBody>
|
<ModalBody>
|
||||||
<div className="input-group">
|
<div className="input-group">
|
||||||
{this.state.url && (
|
{this.state.url && (
|
||||||
<object data={this.state.url}>
|
<object data={this.state.url} style={{ display: "block", width: "100%" }}>
|
||||||
<h3 style={{ textAlign: "center", display: "block", width: "100%" }}>
|
<h3 style={{ textAlign: "center", display: "block", width: "100%" }}>
|
||||||
Do not have read permissions to preview "{this.props.object.name}"
|
Do not have read permissions to preview "{this.props.object.name}"
|
||||||
</h3>
|
</h3>
|
||||||
|
@ -349,6 +349,7 @@ div.fesl-row {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown {
|
.dropdown {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user