-
-
Notifications
You must be signed in to change notification settings - Fork 996
Use CSS instead of JS for floating docs banner [#1988] #2075
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
Closed
Closed
Changes from 17 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
770ae28
Fixed incorrect pluralization of LocalDjangoCommunity in admin - Issu…
arpan8925 b051a8d
Merge pull request #1 from arpan8925/arpan8925-issue1739
arpan8925 2b5ac70
Merge branch 'django:main' into main
arpan8925 6b3ec85
update
arpan8925 a44d056
atomic transaction issue - fixed
arpan8925 276b6fd
Update
arpan8925 656e5f7
Merge pull request #2 from arpan8925/Issue-1764
arpan8925 f3ab5ef
Merge branch 'django:main' into arpan8925---issue1764
arpan8925 f2f4632
Merge pull request #3 from arpan8925/arpan8925---issue1764
arpan8925 4075d2a
Merge branch 'main' of https://github.com/arpan8925/djangoproject.com
arpan8925 69c1b5e
Merge remote-tracking branch 'upstream/main'
arpan8925 765fa77
Fully Running state
arpan8925 e39c210
Issue #1988 Fixed
arpan8925 c5830db
Untrack venv and add it to .gitignore
arpan8925 577e696
Untrack venv and add it to .gitignore
arpan8925 2d60be7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 7adc7dc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 5af8620
1988 resolved
arpan8925 b2d8d15
Added fallback styles and JS for doc warning banner without :has() su…
arpan8925 455568d
Merge branch 'arpan_issue_1988' of https://github.com/arpan8925/djang…
arpan8925 2af3c9c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem to work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok Checking
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue was happening for, actually pysassc does not support modern selector-based feature queries like:
@supports selector(:has(#dev-warning)) {
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I left with 2 Options acutally
Using JavaScript-based detection only
or
Using PostCSS or Dart Sass via a JS or Node build chain instead of LibSass of pysassc .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, unfortunately I think we're stuck with the JavaScript approach for now. Do you agree @marksweb?