[Kimchi-devel] [PATCH] Bug 485 Fix: Label alignement in guest edit

Aline Manera alinefm at linux.vnet.ibm.com
Wed Dec 10 12:53:41 UTC 2014


It changed the input box layout which differ from others in Kimchi UI.

On 12/10/2014 05:34 AM, huoyuxin at linux.vnet.ibm.com wrote:
> From: Yu Xin Huo <huoyuxin at linux.vnet.ibm.com>
>
> Signed-off-by: Yu Xin Huo <huoyuxin at linux.vnet.ibm.com>
> ---
>   ui/css/theme-default/guest-edit.css |   13 ++++++-------
>   1 files changed, 6 insertions(+), 7 deletions(-)
>
> diff --git a/ui/css/theme-default/guest-edit.css b/ui/css/theme-default/guest-edit.css
> index 6815ecf..9eadc6a 100644
> --- a/ui/css/theme-default/guest-edit.css
> +++ b/ui/css/theme-default/guest-edit.css
> @@ -34,6 +34,7 @@
>
>   #form-guest-edit-general .edit-general-inline {
>       display: inline-block;
> +    vertical-align: top;
>   }
>
>   #form-guest-edit-storage input[readonly] {
> @@ -47,10 +48,8 @@
>   }
>
>   .guest-edit-wrapper-label {
> -    height: 38px;
> -    line-height: 38px;
> -    margin-top: 5px;
> -    vertical-align: top;
> +    line-height: 42px;
> +    margin-bottom: 1px;
>       min-width: 100px;
>   }
>
> @@ -60,6 +59,7 @@
>
>   .guest-edit-wrapper-controls {
>       width: 470px;
> +    margin-bottom: 1px;
>   }
>
>   #form-guest-edit-storage .guest-edit-wrapper-controls {
> @@ -73,9 +73,8 @@
>       -webkit-border-radius: 5px;
>       border-radius: 5px;
>       box-shadow: 2px 2px 2px #eee inset;
> -    border-top: 1px solid #bbb;
> -    border-left: 1px solid #bbb;
> -    padding-left: 10px;
> +    border: 1px solid #bbb;
> +    padding: 1px 1px 1px 10px;
>       width: 450px;
>   }
>




More information about the Kimchi-devel mailing list