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

Close icon is invisible in Modal with dimmer={"inverted"} and white background #3134

Closed
xumix opened this issue Sep 5, 2018 · 3 comments
Closed

Comments

@xumix
Copy link

xumix commented Sep 5, 2018

Bug Report

Close icon is invisible in Modal with dimmer={"inverted"} white background

Steps

<Modal trigger={<Button>Show Modal</Button>} closeIcon dimmer={"inverted"}>
    <Header icon='archive' content='Archive Old Messages' />
    <Modal.Content>
      <p>
        Your inbox is getting full, would you like us to enable automatic archiving of old messages?
      </p>
    </Modal.Content>
    <Modal.Actions>
      <Button color='red'>
        <Icon name='remove' /> No
      </Button>
      <Button color='green'>
        <Icon name='checkmark' /> Yes
      </Button>
    </Modal.Actions>
  </Modal>

Expected Result

A visible contrast close Icon

Actual Result

The close icon is invisible(almost invisible in docs) with dimmer={"inverted"}

Version

v0.82.3

@layershifter
Copy link
Member

layershifter commented Sep 6, 2018

It's a known CSS issue: Semantic-Org/Semantic-UI#3070. Workaround:

closeIcon={{ color: 'black', name: 'close' }}
closeIcon={{ color: 'red', name: 'close' }}

@lubber-de

This comment was marked as spam.

@xumix
Copy link
Author

xumix commented Jan 14, 2019

@layershifter if it's known, why not fix it with inverted color?

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

No branches or pull requests

3 participants