mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-04 02:04:10 +02:00
Use btn-link style for expander
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
af1e9382ca
commit
0cc8ee38d5
|
|
@ -178,9 +178,10 @@ search backend.
|
||||||
.attr("aria-expanded", "false")
|
.attr("aria-expanded", "false")
|
||||||
.attr("aria-controls", wrapper_id)
|
.attr("aria-controls", wrapper_id)
|
||||||
.attr("type", "button")
|
.attr("type", "button")
|
||||||
|
.addClass("td-offline-search-results__expander-button")
|
||||||
.addClass("btn")
|
.addClass("btn")
|
||||||
.addClass("btn-sm")
|
.addClass("btn-sm")
|
||||||
.addClass("btn-outline-secondary")
|
.addClass("btn-link")
|
||||||
.append($action)
|
.append($action)
|
||||||
.append($("<span>").text(` ${num_hidden_results} more ${resultsString(num_hidden_results)} from ${r.meta.title}`));
|
.append($("<span>").text(` ${num_hidden_results} more ${resultsString(num_hidden_results)} from ${r.meta.title}`));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -681,4 +681,12 @@ dd {
|
||||||
.td-offline-search-results__close-button {
|
.td-offline-search-results__close-button {
|
||||||
// Prevent the label from rendering white on white.
|
// Prevent the label from rendering white on white.
|
||||||
--bs-btn-color: unset;
|
--bs-btn-color: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
.td-offline-search-results__expander-button {
|
||||||
|
// Prevent the label from rendering white on white.
|
||||||
|
--bs-btn-color: unset;
|
||||||
|
// Avoid any extra inset.
|
||||||
|
--bs-btn-padding-x: 0;
|
||||||
|
--bs-btn-padding-y: 0;
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue