Skip to content

Commit

Permalink
fix cropped map name
Browse files Browse the repository at this point in the history
  • Loading branch information
k2d222 committed Oct 27, 2024
1 parent eae0be4 commit 1319d80
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion client/src/ui/lib/tilePicker.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@
async function drawLayer(image: Image) {
const img = await getCanvasImage(image)
console.log(image, img, img.width, img.height)
if (!mounted) return
canvas.width = img.width as number
canvas.height = img.height as number
Expand Down
1 change: 1 addition & 0 deletions client/styles/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding: .4rem 0; // without this padding, letters below the baseline (q,p,g..) would get cropped by the overflow.
}

#lobby {
Expand Down

0 comments on commit 1319d80

Please sign in to comment.