Skip to content

Buttons and containers look .. weird on Firefox and Chrome #509

Open

Description

@DRA6N

I copied the example from the NES.css site

This is what they look like:
image

As for containers, how do I put the titled to the left, rather than it centered - like the example on the site
image

Activity

  1. calthies4 commented on Jun 4, 2024

    @calthies4

    I was running into a similar issue - I tracked it down to this:

    @media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution:0.001dpcm){.nes-btn{border-image-repeat:space}}

    Obviously this was added for a reason, but it only seems to mess up the buttons in firefox/chrome. I removed that code from my copy of the .css and the button borders look as they should.

  2. withhawaii commented on Oct 4, 2024

    @withhawaii

    @calthies4 Thanks for finding the root cause of this issue!
    I added the following code to my css to override border-image-repeat property.

    @media (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
      .nes-btn {
        border-image-repeat: stretch;
      }
    }
    
  3. sonicer105 commented on Jul 31, 2025

    @sonicer105

    Not sure if it's related, but the rounded boxes are very broken for me.

    Chrome Ver. 138.0.7204.92 (Official Build) (64-bit):

    Image

    Firefox Ver. 140.0.4 (64-bit):

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions