commit 7b432130356031087fdb6340016083c316122c59
parent 47464fb15f30234867247c89c0ffaaaa5331cc0d
Author: Atila Butkovits <abutkovits@mozilla.com>
Date: Mon, 1 Dec 2025 19:51:47 +0200
Revert "Bug 1997647 fix outline for list widget r=home-newtab-reviewers,nbarrett" for causing stylelint failures.
This reverts commit 47464fb15f30234867247c89c0ffaaaa5331cc0d.
Diffstat:
2 files changed, 3 insertions(+), 18 deletions(-)
diff --git a/browser/extensions/newtab/content-src/components/Widgets/Lists/_Lists.scss b/browser/extensions/newtab/content-src/components/Widgets/Lists/_Lists.scss
@@ -114,9 +114,6 @@
border: none;
overflow-y: auto;
max-height: 165px;
- &:focus {
- outline: var(--focus-outline);
- }
}
.task-item {
@@ -149,7 +146,6 @@
span {
-webkit-line-clamp: 3;
- line-clamp: 3;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-word;
@@ -238,14 +234,10 @@
display: flex;
flex-direction: column;
gap: var(--space-small);
- }
-
- .completed-task-wrapper summary {
- list-style: none;
+ }
- &:focus {
- outline: var(--focus-outline);
- }
+ .completed-task-wrapper summary {
+ list-style: none;
.completed-title {
color: var(--text-color-deemphasized);
diff --git a/browser/extensions/newtab/css/activity-stream.css b/browser/extensions/newtab/css/activity-stream.css
@@ -4558,9 +4558,6 @@ dialog:dir(rtl)::after {
overflow-y: auto;
max-height: 165px;
}
-.lists fieldset:focus {
- outline: var(--focus-outline);
-}
.lists .task-item {
align-items: center;
background: transparent;
@@ -4586,7 +4583,6 @@ dialog:dir(rtl)::after {
}
.lists .task-item .checkbox-wrapper span {
-webkit-line-clamp: 3;
- line-clamp: 3;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-word;
@@ -4664,9 +4660,6 @@ dialog:dir(rtl)::after {
.lists .completed-task-wrapper summary {
list-style: none;
}
-.lists .completed-task-wrapper summary:focus {
- outline: var(--focus-outline);
-}
.lists .completed-task-wrapper summary .completed-title {
color: var(--text-color-deemphasized);
position: relative;