Opened 14 years ago
Closed 10 years ago
#16383 closed defect (bug) (fixed)
Width of Site Address input box in network/site-new.php
Reported by: | garyc40 | Owned by: | honeysilvas |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Networks and Sites | Keywords: | has-patch good-first-bug |
Focuses: | multisite, administration | Cc: |
Description
See screenshots
Attachments (13)
Change History (28)
@
14 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
@
12 years ago
- Component changed from UI to Network Admin
- Keywords needs-refresh added; ui-feedback removed
- Milestone changed from Awaiting Review to Future Release
Sounds good. Should it be given any particular size or is auto good enough?
#4
@
11 years ago
- Component changed from Network Admin to Networks and Sites
- Focuses administration added
This ticket was mentioned in Slack in #core by honeysilvas. View the logs.
10 years ago
#7
@
10 years ago
- Milestone changed from Future Release to 4.1
Thanks for the patch @honeysilvas! It's looking good.
A couple thoughts:
- It looks like
forms.css
may be a better fit thanedit.css
for these rules. Maybe with a new section for network admin? - Would it make sense to add
.site-info-php
and.site-new-php
before.form-field
? I could be overthinking it too. - We should leave the ID for
blog_last_updated
andblog_registered
alone 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
@
10 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
@
10 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
@
10 years ago
- Keywords needs-refresh removed
- Owner set to honeysilvas
- Status changed from new to 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
@
10 years ago
- Type changed from enhancement to defect (bug)
Thanks for the updates @honeysilvas. I'll get this in tonight.
#13
@
10 years ago
The patch still needs some styles for smaller screens. The section should also be placed above the media queries.
fix box width