Edgewall Software
Modify

Opened 11 years ago

Closed 11 years ago

#11470 closed enhancement (fixed)

Add left margin to the Add button on the admin panels add form

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.0.2
Component: admin/web Version:
Severity: normal Keywords: css
Cc: Branch:
Release Notes:

Increased spacing between the Add button and the field to its left on the admin addnew forms.

API Changes:
Internal Changes:

Description (last modified by Ryan J Ollos)

This is a small refinement following [11164]. Now that the Add button is displayed in a horizontal form, I think it could benefit from a slightly larger margin to its left.

  • trac/htdocs/css/admin.css

    diff --git a/trac/htdocs/css/admin.css b/trac/htdocs/css/admin.css
    index 908d841..5541a05 100644
    a b form.addnew div.buttons {  
    6060 padding: 0.2em 0.5em 0.2em 0;
    6161 white-space: nowrap;
    6262}
     63form.addnew div.buttons { margin-left: 0.5em; }
    6364form.addnew div.buttons input { margin: 0 0.5em 0 0; }
    6465form.addnew p.hint,
    6566form.addnew span.hint {
    6667 padding-left: 0.5em;
    67  padding-right: 0.5em;
    6868}
    6969form.addnew p.help { margin-top: 0.5em; }
    7070form.addnew br { display: none; }

Attachments (1)

20140205T192904.png (6.9 KB ) - added by Jun Omae 11 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by Ryan J Ollos, 11 years ago

Status: newassigned

comment:2 by Ryan J Ollos, 11 years ago

Description: modified (diff)

comment:3 by Ryan J Ollos, 11 years ago

Description: modified (diff)

by Jun Omae, 11 years ago

Attachment: 20140205T192904.png added

comment:4 by Jun Omae, 11 years ago

I like margin-right rather than margin-left. When the button is wrapped, the label and the button don't align at the left.

comment:5 by Ryan J Ollos, 11 years ago

Revised changes can be found in log:rjollos.git:t11470.

comment:6 by Ryan J Ollos, 11 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Committed to 1.0-stable in [12496], merged to trunk in [12497].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.