Skip to content
Snippets Groups Projects
Commit d8b31e8a authored by Chris Wells's avatar Chris Wells
Browse files

Issue #3395478 by chrisfromredfin, KurtTrowbridge: Regression: Buttons no longer look right

parent 7d4dbd0b
No related branches found
No related tags found
1 merge request!412fix buttons - make them generic in our css, then define claro-specific styles in claro
......@@ -49,3 +49,14 @@
background: #fff;
font-size: 13px;
}
.project__action_button {
/* Steal Claro's button styles for the small variant. */
background-color: #003ecc;
color: #ffffff;
padding: calc(0.5rem - 1px) calc(1rem - 1px);
font-size: 0.79rem;
font-weight: bold;
border: 1px solid transparent !important;
border-radius: 2px;
}
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -3,10 +3,6 @@
export let click = () => {};
</script>
<button
on:click={click}
class="button button--primary project_button--primary"
{...$$restProps}
>
<button on:click={click} class="project__action_button" {...$$restProps}>
<slot />
</button>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment