Skip to content

Commit

Permalink
Remove extra styling, can be done manually
Browse files Browse the repository at this point in the history
  • Loading branch information
JelteMX committed Feb 8, 2022
1 parent 4284892 commit 76575ef
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ Default styling:
export const com_mendixlabs_widget_native_contentrenderer_ContentRenderer = {
html: {
container: {
flex: 1,
height: "100%",
minHeight: 300

},
base: {
color: "#444"
Expand All @@ -77,9 +75,7 @@ export const com_mendixlabs_widget_native_contentrenderer_ContentRenderer = {
},
json: {
container: {
flex: 1,
height: "100%",
minHeight: 300
flex: 1
},
theme: {
base00: "#000000",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "contentrenderer",
"widgetName": "ContentRenderer",
"version": "1.1.0",
"version": "1.1.1",
"private": true,
"description": "Render different types of content in your Mendix Native Mobile app",
"copyright": "© Mendix Technology BV 2022. All rights reserved.",
Expand Down
2 changes: 1 addition & 1 deletion src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="ContentRenderer" version="1.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="ContentRenderer" version="1.1.1" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="ContentRenderer.xml"/>
</widgetFiles>
Expand Down
12 changes: 6 additions & 6 deletions src/ui/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export interface CustomStyle extends Style {
export const defaultContentRendererStyle: CustomStyle = {
html: {
container: {
flex: 1,
height: "100%",
minHeight: 300
// flex: 1,
// height: "100%",
// minHeight: 300
},
base: {
color: "#444"
Expand All @@ -38,9 +38,9 @@ export const defaultContentRendererStyle: CustomStyle = {
},
json: {
container: {
flex: 1,
height: "100%",
minHeight: 300
flex: 1
// height: "100%",
// minHeight: 300
},
theme: {
base00: "#000000",
Expand Down

0 comments on commit 76575ef

Please sign in to comment.