ux(): mini polish to forms, reducing padding between checkbox and label

This commit is contained in:
Torkel Ödegaard 2016-02-26 19:06:35 +01:00
parent 35609fe3d1
commit 7f970bbc7b
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
<div class="gf-form">
<span class="gf-form-label width-7">Name</span>
<input class="gf-form-input max-width-21" type="text" ng-model="current.name" placeholder="My data source name" required>
<gf-popover offset="0px -85px">
<gf-popover offset="0px -95px">
The name is used when you select the data source in panels.
The <code>Default</code> data source is preselected in new
panels.

View File

@ -58,7 +58,7 @@ $gf-form-label-margin: 0.25rem;
.checkbox-label {
display: inline;
cursor: pointer;
padding: $input-padding-y $input-padding-x;
padding: $input-padding-y 0.4rem;
line-height: $input-line-height;
}
}