mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-21 15:56:10 +08:00
💄(attachments): Fix file attachment styles
This commit is contained in:
parent
2c63ae944b
commit
3fc9ee7927
|
@ -4,7 +4,9 @@ import {AttachmentItem, ImageAttachmentItem} from 'nylas-component-kit'
|
|||
|
||||
|
||||
class MessageAttachments extends Component {
|
||||
static displayName= 'MessageAttachments'
|
||||
static displayName = 'MessageAttachments'
|
||||
|
||||
static containerRequired = false
|
||||
|
||||
static propTypes = {
|
||||
files: PropTypes.array,
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
}
|
||||
|
||||
.file-thumbnail-preview {
|
||||
width: 100%;
|
||||
max-height: 64px;
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
|
@ -56,8 +57,9 @@
|
|||
.file-info-wrap {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-grow: 2;
|
||||
min-width: 85%;
|
||||
padding: 10px;
|
||||
width: 100%;
|
||||
height: 105%;
|
||||
border: solid 1px @attachment-border-color;
|
||||
border-top-left-radius: 8px;
|
||||
|
@ -100,6 +102,8 @@
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
flex-basis: 38px;
|
||||
margin-left: auto;
|
||||
padding: 10px;
|
||||
height: 105%;
|
||||
|
|
Loading…
Reference in a new issue