fix(core): 🐛 force selected view button to be visible on revision pages

This commit is contained in:
alistair3149 2024-06-26 17:23:45 -04:00
parent e4697c48f1
commit 3d90051ae6
No known key found for this signature in database

View file

@ -65,7 +65,7 @@
// HACK: Restore view button on revision page (#845) // HACK: Restore view button on revision page (#845)
// There are no good way to target revision page // There are no good way to target revision page
// The :not selector is needed because Extension:DiscussionTools loads the diff styles inline // The :not selector is needed because Extension:DiscussionTools loads the diff styles inline
body:not( .ns-talk ) .action-view #ca-view { .action-view:not( .ns-talk ) #ca-view {
position: relative !important; position: relative !important;
width: auto; width: auto;
height: auto; height: auto;