Skip to content

Commit

Permalink
fix: (regression 0.49.0) different tile size not working (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
rejetto committed Nov 25, 2023
1 parent 5dc3730 commit a9ad6e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,10 @@ button label {
#root>.tiles-mode {
max-width: none;
margin: 0 1em;
--tile-size: 5;
--tiles-size: 5;
--name-lines: 3;
--name-height: calc(4.7em + var(--tile-size) * .4em + 1.2em * var(--name-lines));
--tile-width: calc(5em + 1em * var(--tile-size));
--name-height: calc(4.7em + var(--tiles-size) * .4em + 1.2em * var(--name-lines));
--tile-width: calc(5em + 1em * var(--tiles-size));

ul.dir {
display: grid;
Expand Down Expand Up @@ -531,7 +531,7 @@ button label {
a {
&:last-of-type { padding: 0; }
span { display: block; }
.icon.icon { font-size: calc(1.2rem + .6rem * var(--tile-size)); }
.icon.icon { font-size: calc(1.2rem + .6rem * var(--tiles-size)); }
img.icon {
width: auto;
height: 1em;
Expand Down

0 comments on commit a9ad6e5

Please sign in to comment.