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
Merge requests
!7506
Use at scripting media feature to hide views action buttons until they are moved.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Use at scripting media feature to hide views action buttons until they are moved.
issue/drupal-3441124:3441124-views-ui-action
into
11.x
Overview
2
Commits
5
Pipelines
3
Changes
3
All threads resolved!
Hide all comments
Closed
Mike Herchel
requested to merge
issue/drupal-3441124:3441124-views-ui-action
into
11.x
1 year ago
Overview
2
Commits
5
Pipelines
3
Changes
3
All threads resolved!
Hide all comments
Expand
Closes
#3441124
1
0
Merge request reports
Compare
11.x
version 2
08cc5ced
1 year ago
version 1
2c54a018
1 year ago
11.x (base)
and
latest version
latest version
a5b0b818
5 commits,
1 year ago
version 2
08cc5ced
3 commits,
1 year ago
version 1
2c54a018
1 commit,
1 year ago
3 files
+
83
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
core/modules/views_ui/css/views_ui.admin.css
+
27
−
0
Options
@@ -206,3 +206,30 @@ html.js span.js-only {
.js
.views-edit-view
.dropbutton-wrapper
{
width
:
auto
;
}
/* JS moves Views action buttons under a secondary tabs container, which causes
a large layout shift. We mitigate this by using animations to temporarily hide
the buttons, but they will appear after a set amount of time just in case the JS
is loaded but does not properly run. */
@media
(
scripting
:
enabled
)
{
.views-tabs__action-list-button
:not
(
.views-tabs--secondary
*)
{
animation-name
:
appear
;
animation-duration
:
0.1s
;
/* Buttons will be hidden for the amount of time in the animation-delay if
not moved. Note this is the approximate time to download the views
aggregate CSS with slow 3G. */
animation-delay
:
5s
;
animation-iteration-count
:
1
;
animation-fill-mode
:
backwards
;
}
}
@keyframes
appear
{
from
{
display
:
none
;
}
to
{
display
:
unset
;
}
}
Loading