-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #551. This PR adds a placeholder for the embed block. Currently it does not function and merely serves as a step forward on the UI. **Testing Instruction:** Open the inserter menu and add an embed block to the editor. The embed block should feature an input to submit the URL. This functionality does not yet work but serves as a placeholder. **Note:** Someone needs to do the translation build, as Windows breaks it.
- Loading branch information
1 parent
dd842a1
commit 6c49179
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.blocks-embed.is-placeholder { | ||
align-items: center; | ||
display: flex; | ||
flex-direction: column; | ||
margin: -15px; | ||
padding: 6em 0; | ||
text-align: center; | ||
} | ||
|
||
.blocks-embed__placeholder-label { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
font-weight: bold; | ||
|
||
.dashicon { | ||
margin-right: 1ch; | ||
} | ||
} | ||
|
||
.blocks-embed__placeholder-input { | ||
border-radius: 4px; | ||
margin: 1.62em 0 1em; | ||
min-width: 280px; | ||
padding: 0.62em; | ||
text-align: center; | ||
} |