Fix some issue with logical focus order (re: #8004)

This commit is contained in:
Quincy Morgan
2020-09-18 14:33:21 -04:00
parent c084c569a7
commit 45fbd5e604
3 changed files with 12 additions and 11 deletions

View File

@@ -3264,7 +3264,7 @@ button.autofix.action.active {
.autofix-all {
display: flex;
flex-flow: row nowrap;
flex-direction: row-reverse;
justify-content: flex-end;
margin-top: -25px;
padding-bottom: 5px;
}
@@ -3421,7 +3421,7 @@ button.autofix.action.active {
.section-footer {
display: flex;
flex-flow: row nowrap;
flex-direction: row-reverse;
justify-content: flex-end;
height: 30px;
}
.section-footer a {
@@ -4220,7 +4220,8 @@ img.tile-debug {
------------------------------------------------------- */
.info-panels {
display: flex;
flex-flow: row-reverse wrap-reverse;
flex-flow: row wrap-reverse;
justify-content: flex-end;
width: 100%;
z-index: 1;
-ms-user-select: element;

View File

@@ -32,18 +32,18 @@ export function uiSectionMapFeatures(context) {
.append('a')
.attr('class', 'feature-list-link')
.attr('href', '#')
.text(t('issues.enable_all'))
.text(t('issues.disable_all'))
.on('click', function() {
context.features().enableAll();
context.features().disableAll();
});
footer
.append('a')
.attr('class', 'feature-list-link')
.attr('href', '#')
.text(t('issues.disable_all'))
.text(t('issues.enable_all'))
.on('click', function() {
context.features().disableAll();
context.features().enableAll();
});
// Update

View File

@@ -46,18 +46,18 @@ export function uiSectionValidationRules(context) {
.append('a')
.attr('class', 'issue-rules-link')
.attr('href', '#')
.text(t('issues.enable_all'))
.text(t('issues.disable_all'))
.on('click', function() {
context.validator().disableRules([]);
context.validator().disableRules(_ruleKeys);
});
ruleLinks
.append('a')
.attr('class', 'issue-rules-link')
.attr('href', '#')
.text(t('issues.disable_all'))
.text(t('issues.enable_all'))
.on('click', function() {
context.validator().disableRules(_ruleKeys);
context.validator().disableRules([]);
});