-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mobile Block Placeholder fixes (#13945)
* Use correct font and padding for block placeholder. * Match text for placeholder for paragraph to block placeholder. * Make placeholder text simpler. * Make min height smaller to make component entered. * Fix default placeholder color. * Use variable for color. * Change minimum height of text blocks. * Remove top padding on the appender.
- Loading branch information
1 parent
1917d51
commit 8d4aaeb
Showing
8 changed files
with
18 additions
and
9 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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
.blockText { | ||
min-height: 50; | ||
min-height: 24; | ||
} |
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
11 changes: 9 additions & 2 deletions
11
packages/editor/src/components/default-block-appender/style.native.scss
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 |
---|---|---|
@@ -1,14 +1,21 @@ | ||
// @format | ||
|
||
@import "variables.scss"; | ||
@import "colors.scss"; | ||
|
||
.blockHolder { | ||
flex: 1 1 auto; | ||
} | ||
|
||
.blockContainer { | ||
background-color: $white; | ||
padding: 8px; | ||
padding-top: 0; | ||
padding-left: 16px; | ||
padding-right: 16px; | ||
} | ||
|
||
.textView { | ||
color: #87a6bc; | ||
color: $gray; | ||
font-size: 16px; | ||
font-family: $default-regular-font; | ||
} |
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
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
@import "variables.scss"; | ||
@import "colors.scss"; | ||
|
||
.editor-rich-text { | ||
font-family: $default-regular-font; | ||
text-decoration-color: $gray; | ||
} |