Skip to content
This repository has been archived by the owner on Aug 2, 2018. It is now read-only.

Commit

Permalink
Remove build in padding.
Browse files Browse the repository at this point in the history
It looks weird if plain <jucy-tile-list> is direct child of another plain <juicy-tile-list, as padding, and marigin of tiles breaks calculations.
  • Loading branch information
tomalec committed Nov 1, 2014
1 parent 7bf23d3 commit f15dadd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions examples/other/custom-juicy-tile-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* so we need to specify the size constraint */
juicy-tile-list{
width: 100%;
padding: 10px;
}

custom-item {
Expand Down
2 changes: 0 additions & 2 deletions src/juicy-tile-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
<template>
<style>
:host {
/*display: inline-block;*/
display: block;
padding: 16px;
}
#container{
position: relative;
Expand Down

0 comments on commit f15dadd

Please sign in to comment.