Skip to content

Commit a9ba281

Browse files
authored
Remove count button shadow and add tooltip to it (#736)
1 parent 4e8346b commit a9ba281

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

mwdb/web/src/components/RecentView/RecentView.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,16 @@ export default function RecentView(props) {
203203
value="Search"
204204
/>
205205
</div>
206-
<div className="btn-group">
206+
<div
207+
className="btn-group"
208+
data-toggle="tooltip"
209+
title={`Turn ${
210+
countingEnabled ? "off" : "on"
211+
} results counting`}
212+
>
207213
<input
208214
type="submit"
209-
className={`btn btn-outline-info rounded-0 ${
215+
className={`btn btn-outline-info rounded-0 shadow-none ${
210216
searchParams.get("count") === "1"
211217
? "active"
212218
: ""
@@ -220,7 +226,6 @@ export default function RecentView(props) {
220226
}}
221227
/>
222228
</div>
223-
224229
<a
225230
href="https://mwdb.readthedocs.io/en/latest/user-guide/7-Lucene-search.html"
226231
className="btn btn-outline-primary"

0 commit comments

Comments
 (0)