clerk/javascript

Cannot remove divider above Privacy and Terms links in core-2

danilofuchs opened this issue · 4 comments

Preliminary Checks

Reproduction

Publishable key

pk_test_Y3JlZGlibGUtcmFiYml0LTUuY2xlcmsuYWNjb3VudHMuZGV2JA

Description

I want to remove this divider above Privacy and Terms links at the `` component, but there is no exposed class for it.

image

image

Environment

`@clerk/nextjs 5.0.2`

Hey @danilofuchs could you give this a try ?

<ClerkProvider
  appearance={{
    elements: {
      footer: {
        '>:nth-of-type(2)': {
          borderTopWidth: '0px',
        },
      },
    },
  }}
>

This works @panteliselef!
Not sure if this is the best API though

That is correct, having said that tho, due to css specificity simply introducing a class will not fix the issue, we would have to remove the previous css rule which we are considering a breaking change.