Skip to content

Commit

Permalink
remove duplicate classes documentation (resoai#361)
Browse files Browse the repository at this point in the history
* remove duplicate `classes` documentation

I simply merged the two descriptions...

* Update README.md

Co-Authored-By: Rafał Chłodnicki <[email protected]>

Co-authored-by: Alexey <[email protected]>
Co-authored-by: Rafał Chłodnicki <[email protected]>
  • Loading branch information
3 people authored Apr 19, 2020
1 parent 8a68c97 commit 6029a06
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,6 @@ Tile Object. [Click here for some real-life examples](TILE_EXAMPLES.md)
bgOpacity: 0.5,
/* theme: Override default theme for the tile */
theme: TYPES.SWITCH,
/* classes: A list of classes to be appended to the tile element
* Useful for custom CSS styles
*/
classes: ["-big-entity"],
/* slides: A list of slide images to use for the background
* Currently a maximum of 3 slides are supported
* (optional)
Expand Down Expand Up @@ -377,8 +373,11 @@ Tile Object. [Click here for some real-life examples](TILE_EXAMPLES.md)
backgroundColor: 'rgba(0, 0, 0, 0.1)', // Defaults to rgba(0, 0, 0, 0.1)
fractionSize: 0 // Number of decimal places to round the number to. Defaults to current locale formatting
},

/* classes: Additional CSS classes. Use 'compact' for a compact (1x1) tile

/* classes: A list of classes to be appended to the tile element
* Useful for custom CSS styles.
* Use CLASS_BIG, CLASS_SMALL or CLASS_MICRO to change the size of a tile.
* The TYPES.WEATHER tile supports '-compact' class for a compact (1x1) tile
* (optional)
*/
classes: ['-compact'],
Expand Down

0 comments on commit 6029a06

Please sign in to comment.