Preview mediatag in the drive and in diffMarked
This commit is contained in:
@@ -106,4 +106,33 @@
|
||||
.cp-teams-help {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
// mediatag preview
|
||||
#cp-mediatag-preview-modal {
|
||||
.cp-modal {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
.cp-mediatag-container {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
media-tag {
|
||||
& > * {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
& > iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
& > .plain-text-reader {
|
||||
white-space: pre-wrap;
|
||||
text-align: left;
|
||||
word-break: break-word;
|
||||
color: @cryptpad_text_col;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user