Comments (9)
You need to add below CSS in app.css file
.alert {
position: fixed;
left: 50%;
top: 120px;
transform: translate(-50%, -50%);
z-index: 99999;
}
from django-2021.
![]()
Just checking, were you able to fix it? I have it displaying like yours but when I click the "X" it doesn't close. I've added the code referenced to my app.css but still the same. Thanks.
hi, I removed the default CSS lines related to alert messages and added the code @Abbasa5251 mentioned to app.css and it worked!
from django-2021.
You need to add below CSS in app.css file
.alert { position: fixed; left: 50%; top: 120px; transform: translate(-50%, -50%); z-index: 99999; }
Thank you for pointing this out, my alert messages weren't showing properly without this.
from django-2021.
Hi, Have You Found a solution for this? Can you share? I'm stuck and can't find a workaround.
from django-2021.
Thank You So Much!
from django-2021.
Just checking, were you able to fix it? I have it displaying like yours but when I click the "X" it doesn't close. I've added the code referenced to my app.css but still the same. Thanks.
from django-2021.
@EXxZAM Very good, thank you.
That is what I've done however it still does the same thing. It does however notice when my mouse is over the "X" as the pointer turns into a finger to click. (see attached images). Here is a sample of my current code in static/styles/app.css and main.html.
If anyone has an idea of what else I could check please let me know. Thank you.
from django-2021.
@fallstonray
I have the same issue too... any fix yet?
from django-2021.
It seems to be a browser issue. It works in Chrome, but not in Firefox as in my case
Chrome ✅
from django-2021.
Related Issues (17)
- Skill tag spacing HOT 1
- TemplateDoesNotExist HOT 1
- License missing
- REST-FRAMEWORK Error getting projects by token [SOLUTION]
- NoReverseMatch at /projects/ HOT 3
- Rendring Data to Templates HOT 1
- Terms and conditions of the page
- Showing this error HOT 4
- DoesNotExist at /admin/auth/user/ User matching query does not exist.
- Link around project card on profile page HOT 2
- 28. Reviews Dropdown Styling is not working HOT 3
- VSCode virtual environment issues: PIP list is always my local package HOT 1
- Error on deploying .please help me to deploy my project.
- Spacing on profile page HOT 1
- Comments on project page HOT 1
- Lesson Database Queries > Resources > Querysets List.png
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-2021.