Skip to content

Commit 467b0b7

Browse files
authored
remove clear-all button (#6941)
1 parent 55e337a commit 467b0b7

File tree

3 files changed

+0
-26
lines changed

3 files changed

+0
-26
lines changed

kitsune/sumo/static/sumo/js/wiki.editor.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,6 @@ document.addEventListener("DOMContentLoaded", function () {
196196
new TomSelect("select[id='id_restrict_to_groups']", {
197197
closeAfterSelect: true,
198198
plugins: {
199-
clear_button: {
200-
title: "Clear All",
201-
},
202199
remove_button: {
203200
title: "Remove Item"
204201
},

kitsune/sumo/static/sumo/js/wiki_search.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ document.addEventListener("DOMContentLoaded", function() {
3434
closeAfterSelect: true,
3535
maxItems: null, // Allow multiple selections
3636
plugins: {
37-
clear_button: {
38-
title: "Clear All",
39-
},
4037
remove_button: {
4138
title: 'Remove this document'
4239
}

kitsune/sumo/static/sumo/scss/components/_wiki.scss

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,23 +1318,3 @@ article {
13181318
transform: rotate(0);
13191319
}
13201320
}
1321-
1322-
// Styling for the tom-select clear_button plugin.
1323-
.ts-wrapper.multi.plugin-clear_button .ts-control > .clear-button {
1324-
opacity: 100%;
1325-
width: 1rem;
1326-
height: 1rem;
1327-
font-size: 1rem;
1328-
display: inline-flex;
1329-
justify-content: center;
1330-
align-items: center;
1331-
padding-bottom: 8px;
1332-
text-shadow: 0 1px 0 rgba(0, 51, 83, 30%);
1333-
border-radius: 3px;
1334-
background-image: linear-gradient(to bottom, #1da7ee, #178ee9) !important;
1335-
box-shadow: 0 1px 0 rgba(0, 0, 0, 20%),inset 0 1px rgba(255, 255, 255, 3%);
1336-
1337-
&:hover {
1338-
background-image: linear-gradient(to bottom, #008fd8, #0075cf) !important;
1339-
}
1340-
}

0 commit comments

Comments
 (0)