@tinacms/app 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @tinacms/app
2
2
 
3
+ ## 2.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 4128128: Fix markdown editor button styling
8
+
3
9
  ## 2.0.1
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/app",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "main": "src/main.tsx",
5
5
  "license": "Apache-2.0",
6
6
  "devDependencies": {
@@ -160,9 +160,9 @@ export const RawEditor = (props: RichTextType) => {
160
160
 
161
161
  return (
162
162
  <div className="relative">
163
- <div className="sticky top-1 w-full flex justify-between mb-2 z-50 max-w-full">
163
+ <div className="sticky top-1 w-full flex justify-between mb-2 z-50 max-w-full bg-white">
164
164
  <Button onClick={() => props.setRawMode(false)}>
165
- View in rich-text editor
165
+ View in rich-text editor 📝
166
166
  </Button>
167
167
  <ErrorMessage error={error} />
168
168
  </div>
@@ -222,7 +222,7 @@ const Button = (props) => {
222
222
  props.align === 'left'
223
223
  ? 'rounded-l-md border-r-0'
224
224
  : 'rounded-r-md border-l-0'
225
- } shadow rounded-md bg-white cursor-pointer relative inline-flex items-center px-2 py-2 border border-gray-200 hover:text-white text-sm font-medium transition-all ease-out duration-150 hover:bg-blue-500 focus:z-10 focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500`}
225
+ } flex justify-center w-full shadow rounded-md bg-white cursor-pointer relative inline-flex items-center px-2 py-2 border border-gray-200 hover:text-white text-sm font-medium transition-all ease-out duration-150 hover:bg-blue-500 focus:z-10 focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500`}
226
226
  type="button"
227
227
  onClick={props.onClick}
228
228
  >