Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
f9be36f0
Verified
Commit
f9be36f0
authored
2 months ago
by
Théodore Biadala
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3514748
by catch: Remove legacy browser support from js.module.css
parent
80adfea4
Branches
Branches containing commit
Tags
Tags containing commit
3 merge requests
!5423
Draft: Resolve #3329907 "Test2"
,
!3478
Issue #3337882: Deleted menus are not removed from content type config
,
!579
Issue #2230909: Simple decimals fail to pass validation
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/modules/system/css/components/js.module.css
+5
-13
5 additions, 13 deletions
core/modules/system/css/components/js.module.css
with
5 additions
and
13 deletions
core/modules/system/css/components/js.module.css
+
5
−
13
View file @
f9be36f0
...
...
@@ -3,30 +3,22 @@
* Utility classes to assist with JavaScript functionality.
*/
/**
* For anything you want to hide on page load when JS is enabled, so
* that you can use the JS to control visibility and avoid flicker.
*/
.js
.js-hide
{
display
:
none
;
}
/**
* For anything you want to show on page load only when JS is enabled.
*/
.js-show
{
display
:
none
;
}
.js
.js-show
{
display
:
block
;
}
/**
* Use the scripting media features for modern browsers to reduce layout shifts.
*/
@media
(
scripting
:
enabled
)
{
/* Extra specificity to override previous selector. */
.js-hide.js-hide
{
/**
* For anything you want to hide on page load when JS is enabled, so
* that you can use the JS to control visibility and avoid flicker.
*/
.js-hide
{
display
:
none
;
}
.js-show
{
...
...
This diff is collapsed.
Click to expand it.
Théodore Biadala
@nod_
mentioned in commit
99423203
·
2 months ago
mentioned in commit
99423203
mentioned in commit 9942320349e9ef6ddb02859d9ab37f3414c1e536
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment