Skip to content
Snippets Groups Projects
Commit 88218c81 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

Merge pull request #795 from metabase/add_to_dash_sizing

Fix Add to Dashboard font sizing and spacing
parents 006b25f3 e9fa1733
Branches
Tags
No related merge requests found
......@@ -31,6 +31,14 @@
border-bottom: 10px solid transparent;
}
.PopoverBody .Form-input {
font-size: 1rem;
}
.PopoverBody .Form-field {
margin-bottom: 0.75rem;
}
.PopoverHeader {
display: flex;
border-bottom: 1px solid var(--border-color);
......
......@@ -586,3 +586,7 @@
.QueryBuilder .Entity-attribution {
margin-left: 0.5rem;
}
.PopoverBody.AddToDashboard {
min-width: 25em;
}
......@@ -34,7 +34,7 @@ export default React.createClass({
return (
<Popover
tetherOptions={tetherOptions}
className="PopoverBody PopoverBody--withArrow"
className="PopoverBody PopoverBody--withArrow AddToDashboard"
>
<AddToDashboardPopover
card={this.props.card}
......
......@@ -190,7 +190,7 @@ export default React.createClass({
return (
<form className="Form-new" onSubmit={this.createNewDash}>
<div className="Form-offset flex align-center mr4">
<div className="Form-offset flex align-center mr4 mb2">
<h3 className="flex-full">Create a new dashboard</h3>
<a className="text-grey-3" onClick={this.toggleCreate}>
<Icon name='close' width="12px" height="12px"/>
......@@ -219,7 +219,7 @@ export default React.createClass({
showCharm={false}
errors={this.state.errors}>
<label className="Select Form-offset">
<select ref="public_perms">
<select className="mt1" ref="public_perms">
{privacyOptions}
</select>
</label>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment