Opened 16 years ago
Closed 12 years ago
#16383 closed defect (bug) (fixed)
Width of Site Address input box in network/site-new.php
| Reported by: | garyc40 | Owned by: | honeysilvas |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | Networks and Sites | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch good-first-bug |
| Cc: | Focuses: | multisite, administration |
Description
See screenshots
Attachments (13)
Change History (28)
@
16 years ago
also fix the width of "Domain" box in network/site-info.php when editing a site that's not the main site
#3
@
14 years ago
- Component UI → Network Admin
- Keywords needs-refresh added; ui-feedback removed
- Milestone Awaiting Review → Future Release
Sounds good. Should it be given any particular size or is auto good enough?
This ticket was mentioned in Slack in #core by honeysilvas. View the logs.
12 years ago
#7
@
12 years ago
- Milestone Future Release → 4.1
Thanks for the patch @honeysilvas! It's looking good.
A couple thoughts:
- It looks like
forms.cssmay be a better fit thanedit.cssfor these rules. Maybe with a new section for network admin? - Would it make sense to add
.site-info-phpand.site-new-phpbefore.form-field? I could be overthinking it too. - We should leave the ID for
blog_last_updatedandblog_registeredalone in this patch. While it would be great with-instead, there may be somebody already styling with a custom stylesheet based on these IDs.
#8
follow-up:
↓ 9
@
12 years ago
Thank you for your feedback, Jeremy. Here's the updated patch.
Regarding:
Would it make sense to add .site-info-php and .site-new-php before .form-field? I could be overthinking it too.
It's fine with me either way. Just let me know which you prefer and I can incorporate it into the patch.
Some questions about inline styles:
In site-info.php, line 47, there is an inline style (style="margin-bottom:5px;") that I can move to the CSS file. Since I am editing that line anyway, should I move that inline style or just leave it?
<input name="blog[path]" type="text" id="path" value="<?php echo esc_attr( $details->path ) ?>" style="margin-bottom:5px;" />
In site-info.php, line 48, there is another inline style (style="width:20px;") that I can remove. It's barely noticeable, but the width makes the checkbox look weird.
<input type="checkbox" style="width:20px;" name="update_home_url" value="update" <?php if ( get_option( 'siteurl' ) == untrailingslashit( get_blogaddress_by_id ($id ) ) || get_option( 'home' ) == untrailingslashit( get_blogaddress_by_id( $id ) ) ) echo 'checked="checked"'; ?> /> <?php _e( 'Update <code>siteurl</code> and <code>home</code> as well.' ); ?>
I am not sure if these are within the scope of this patch. I can leave these alone but I can also easily incorporate them into the patch. What do you think?
#9
in reply to: ↑ 8
@
12 years ago
Replying to honeysilvas:
I am not sure if these are within the scope of this patch.
That's fine. Feel free to move these to forms.css.
#10
@
12 years ago
- Keywords needs-refresh removed
- Owner set to
- Status new → assigned
honeysilvas, you should leave a comment on the ticket when you attach a file to a ticket. Attachments doesn't trigger a notifcation.
#12
@
12 years ago
- Type enhancement → defect (bug)
Thanks for the updates @honeysilvas. I'll get this in tonight.
#13
@
12 years ago
The patch still needs some styles for smaller screens. The section should also be placed above the media queries.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
fix box width