Ticket #4068 (closed defect (bug): fixed)

Opened 5 years ago

Last modified 5 years ago

View Post Link Issues (RE: Changeset 5159)

Reported by: Viper007Bond Owned by: rob1n
Priority: low Milestone: 2.2
Component: Administration Version: 2.2
Severity: minor Keywords:
Cc:

Description

RE: [5159]

Oh where to begin...

  • The right margin needs to be a fixed width rather than an em. On large resolutions, it moves onto of the sidebar:

http://img217.imageshack.us/img217/8155/wpvz4.png

  • The CSS declaration should be in the stylesheet rather than inline so that admin skin replacements can change it's location
  • target="_blank" ? Tsk tsk. This isn't valid XHTML. ;)

Attachments

preview-link-fix.diff Download (395 bytes) - added by rob1n 5 years ago.

Change History

(In [5182]) Move inline styles to wp-admin.css. see #4068

comment:2 in reply to: ↑ description   rob1n5 years ago

  • Keywords needs-patch removed
  • Owner changed from anonymous to rob1n

Replying to Viper007Bond:

RE: [5159]

Oh where to begin...

  • The right margin needs to be a fixed width rather than an em. On large resolutions, it moves onto of the sidebar:

http://img217.imageshack.us/img217/8155/wpvz4.png

I can reproduce this. Fix coming up in a bit.

  • The CSS declaration should be in the stylesheet rather than inline so that admin skin replacements can change it's location

Fixed in [5182].

  • target="_blank" ? Tsk tsk. This isn't valid XHTML. ;)

I'll talk to Matt.

rob1n5 years ago

We'll need to adjust rtl.css too.

Something like

a.view-link {
        right: auto;
        left: 2em;
        margin-right: 0;
        margin-left: 19em;
}

For what's currently in trunk. I didn't look at the attached patch :)

Ah, I'll do that now.

And the patch doesn't completely work under IE (both 6 and 7). Still "functional," but not perfect ;).

(In [5183]) Add RTL support for new view-link class. see #4068

As for the target="_blank" thing, I'll talk to Matt about possibly using a JavaScripty window.open solution. But I'm not overtly concerned about internal HTML validation.

(In [5185]) Use fixed widths instead of pixels, so it stays the same at all resolutions. see #4068

  • Status changed from new to closed
  • Resolution set to fixed

The target="_blank" can stay as it is.

Note: See TracTickets for help on using tickets.