Skip to content

Chessboard does not resize with css "media" rule #248

Open
@loeclos

Description

@loeclos

I am trying to to resize my chessboard with the user screen like this:

@media only screen and (max-width: 600px) {
  .chessboard {
    width: 300;
  }
}

This does not work though. After resizing the screen they will need to refresh the page, and my chess algorithm counts the player who "disconnected" the loser. Is there a way to resize the chessboard without refresh?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions