Skip to content
New issue

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

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

Already on GitHub? # to your account

[Bug] White bar at top of custom alert #217

Closed
ShawnDoe opened this issue May 2, 2023 · 3 comments · Fixed by #223
Closed

[Bug] White bar at top of custom alert #217

ShawnDoe opened this issue May 2, 2023 · 3 comments · Fixed by #223
Labels
Bug Something isn't working

Comments

@ShawnDoe
Copy link

ShawnDoe commented May 2, 2023

Describe the bug
There is a white bar along the top of the custom toast. I saw this on my own project then confirmed it on the project downloaded from here.
To Reproduce
Steps to reproduce the behavior:
Download the sample project here.
Run it.
Choose Custom Toast.
See white bar along the top of the toast.
Expected behavior
I cannot override whatever this is and I would expect to be able to remove it.

Screenshots
image

Hosting Model (is this issue happening with a certain hosting model?):

  • Blazor Server

Additional context

@ShawnDoe ShawnDoe added Bug Something isn't working Triage Issue needs to be triaged labels May 2, 2023
@Cvijo
Copy link
Contributor

Cvijo commented May 3, 2023

A workaround would be to add CSS to override blazored-toast with {border-top:0px;} on your custom component

@haakonfp
Copy link

haakonfp commented May 4, 2023

A workaround would be to add CSS to override blazored-toast with {border-top:0px;} on your custom component

This worked for me, just needed the !important tag as well.
I added the following to my css file to avoid the top border and the unrounded edges:

.blazored-toast {
    border-top: 0px!important;
    border-radius: 1rem!important;
}

@taylorchasewhite
Copy link
Contributor

Same

@chrissainty chrissainty removed the Triage Issue needs to be triaged label Jun 26, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants