2
0
Эх сурвалжийг харах

Ensure the 'add child page' button displays when focused (#5274, #5382)

Helen Chapman 5 жил өмнө
parent
commit
98d3ef4743

+ 1 - 0
CHANGELOG.txt

@@ -47,6 +47,7 @@ Changelog
  * Fix: Restore custom "Date" icon for scheduled publishing panel in Edit page’s Settings tab (Helen Chapman)
  * Fix: Added missing form media to user edit form template (Matt Westcott)
  * Fix: Add a label to the modals’ “close” button for screen reader users (Helen Chapman, Katie Locke)
+ * Fix: Ensure the 'add child page' button displays when focused (Helen Chapman, Katie Locke)
 
 
 2.5.1 (07.05.2019)

+ 6 - 1
client/scss/components/_listing.scss

@@ -279,9 +279,14 @@ ul.listing {
             font-size: 1.5rem;
         }
 
-        &:hover {
+        &:hover,
+        &:focus {
             color: $color-teal;
         }
+
+        &:focus {
+            opacity: 1; //opacity is already changed on hover on the parent tr
+        }
     }
 
     &.small .children a:before {

+ 1 - 0
docs/releases/2.6.rst

@@ -61,6 +61,7 @@ Bug fixes
  * Restore custom "Date" icon for scheduled publishing panel in Edit page’s Settings tab (Helen Chapman)
  * Added missing form media to user edit form template (Matt Westcott)
  * Added a label to the modals’ “close” button for screen reader users (Helen Chapman, Katie Locke)
+ * Ensured the 'add child page' button displays when focused (Helen Chapman, Katie Locke)
 
 
 Upgrade considerations