mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-09 09:35:02 +09:00
twitter resize fix
This commit is contained in:
parent
7bc35156dd
commit
c810c11b04
2 changed files with 14 additions and 3 deletions
5
dist/embed/iframe.html
vendored
5
dist/embed/iframe.html
vendored
|
@ -16,7 +16,10 @@
|
|||
iframe { width: 100% !important; height: 100% !important; }
|
||||
}
|
||||
|
||||
.twitter-tweet { margin: 0px !important; display: inline-block; }
|
||||
.twitter-tweet { margin: 0px !important; display: inline-flex !important; }
|
||||
|
||||
body.align1 .twitter-tweet { justify-content: center; }
|
||||
body.align2 .twitter-tweet { justify-content: flex-end; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
}
|
||||
|
||||
.block.blockEmbed {
|
||||
.wrap { padding: 2px 0px; }
|
||||
.wrap { padding: 2px 0px; display: flex; flex-direction: column; }
|
||||
.wrap.isEditing { padding: 8px; background-color: $colorShapeHighlightLight; border-radius: 4px; }
|
||||
.wrap.isEditing {
|
||||
.empty { padding-bottom: 18px; }
|
||||
|
@ -23,7 +23,7 @@
|
|||
.editableWrap { margin: 0px; }
|
||||
}
|
||||
|
||||
.valueWrap { position: relative; display: inline-block; width: 100%; }
|
||||
.valueWrap { position: relative; width: 100%; }
|
||||
.dimmer { position: absolute; z-index: 1; width: 100%; height: 100%; left: 0px; top: 0px; display: none; }
|
||||
|
||||
.preview {
|
||||
|
@ -84,6 +84,14 @@
|
|||
.icon.resize { display: none; }
|
||||
}
|
||||
|
||||
.block.blockEmbed.align1 {
|
||||
.wrap { align-items: center; }
|
||||
}
|
||||
|
||||
.block.blockEmbed.align2 {
|
||||
.wrap { align-items: flex-end; }
|
||||
}
|
||||
|
||||
.block.blockEmbed:hover {
|
||||
.icon.source, .icon.resize { opacity: 1; }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue