Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set custom notation? #46

Open
xfishernet opened this issue Dec 4, 2019 · 3 comments
Open

How to set custom notation? #46

xfishernet opened this issue Dec 4, 2019 · 3 comments

Comments

@xfishernet
Copy link

How to set custom notation on border? Example:

Screenshot 2019-12-04 at 16 37 45

@willb335
Copy link
Owner

willb335 commented Dec 4, 2019

Sorry, but it doesn't have a prop to customize notation

@gempir
Copy link

gempir commented May 21, 2020

Is it possible to style it atleast? It has no class, no style prop as far as I can see. Kinda hard to modify the look of them.

@gempir
Copy link

gempir commented May 23, 2020

If this helps anyone this how styled them to be outside the field (based on view height since I resize by that)

div[data-testid=white-square], div[data-testid=black-square] {
            
            
    > div:first-child {
        user-select: none;
        
        > div:first-child:not([data-testid]), > div:last-child:not([data-testid]), div[data-testid=bottom-left-1] {
            font-size: 2.5rem !important;
            margin-left: -4vh !important;
            align-self: center !important;
            color: var(--text) !important;
        }

        div[data-testid=bottom-left-a], div[data-testid=column-b], div[data-testid=column-c], div[data-testid=column-d], div[data-testid=column-e], div[data-testid=column-f], div[data-testid=column-g], div[data-testid=column-h] {
            font-size: 2.5rem !important;
            color: var(--text) !important;
            margin-top: 7vh !important;
            padding-left: 0 !important;
            margin-left: 0 !important;
        }
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@xfishernet @gempir @willb335 and others