mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
style(explore): use tertiary button against gray background (#11011)
"primary" style buttons seem to expect a white background and really look muted against the gray background. Using "tertiary" style button makes things much better. Eventually we may reconsider the layout and gray background and go back to secondary, but for now this makes these important pop much more
This commit is contained in:
committed by
GitHub
parent
8b683783cc
commit
dc76a2688e
@@ -73,7 +73,7 @@ export default function QueryAndSaveBtns({
|
||||
chartIsStale,
|
||||
errorMessage,
|
||||
}) {
|
||||
let qryButtonStyle = 'secondary';
|
||||
let qryButtonStyle = 'tertiary';
|
||||
if (errorMessage) {
|
||||
qryButtonStyle = 'danger';
|
||||
} else if (chartIsStale) {
|
||||
@@ -108,7 +108,7 @@ export default function QueryAndSaveBtns({
|
||||
<ButtonGroup className="query-and-save">
|
||||
{qryOrStopButton}
|
||||
<Button
|
||||
buttonStyle="secondary"
|
||||
buttonStyle="tertiary"
|
||||
buttonSize="small"
|
||||
data-target="#save_modal"
|
||||
data-toggle="modal"
|
||||
|
||||
Reference in New Issue
Block a user