[Freeipa-devel] [PATCH] 016 Fixed: Some widgets do not have space for validation error message

Petr Vobornik pvoborni at redhat.com
Thu Sep 29 12:52:42 UTC 2011


On 09/27/2011 10:54 PM, Endi Sukma Dewata wrote:
> On 9/27/2011 7:50 AM, Petr Vobornik wrote:
>> I've added padding and unified font-weight in error-message style. The
>> padding is added because text of the message was right on the border
>> which wasn't much readable. Font-weight is added because sometimes it
>> inherits font-weight from other style and so it is inconsistent with
>> other appearances. I'm not sure about the 'bold', though.
>
> This is good but can we use a new CSS class for the error message? I'd
> rather not change the jquery-ui.css (removing white spaces is ok)
> because it will be difficult to keep track the changes if we need to
> upgrade it.
Moved this change to ipa.css (no need to add extra class, it will 
overwrite it as long ipa.css is linked after jquery-ui.css).
>
> There's another minor issue, but this one can be fixed separately if you
> want. Try editing a self-service permission, uncheck all attributes,
> then click Update. The undo link and the error message appear in 2
> separate lines.
Kept them on 2 lines.
> I think it's better to show them in a single line. When
> we fix the attributes widget to inherit from table, they will fit into
> the footer.
I agree.
> The padding should be consistent as well, right now the undo
> box is smaller than the error message.
Added padding to undo. Added 1px margin-bottom to undo to separate undo 
and error message borders when they are on two lines.

Changed display of undo in attributes_widget from inline to inline-block 
- looks better with added padding.

-- 
Petr Vobornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0016-3-Fixed-Some-widgets-do-not-have-space-for-validation-.patch
Type: text/x-patch
Size: 8974 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110929/69a80e08/attachment.bin>


More information about the Freeipa-devel mailing list