Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] UI breakage when using multiple page actions #357

Open
theperfectwill opened this issue Mar 12, 2021 · 1 comment
Open

[BUG] UI breakage when using multiple page actions #357

theperfectwill opened this issue Mar 12, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@theperfectwill
Copy link
Member

Describe the bug

UI breakage when using multiple page actions

To Reproduce

Edit Page ‹ Site_Title — WordPress-03122021-180736

Expected behavior

Shouldn't be.

Screenshots

Provided in steps to reproduce.

Sample Codes

Not able to provide in one piece of code, because multiple taxonomy files include this to achieve the above screenshot result.

$this_taxonomy_manage_edit_button = wponion_page_actions($this_location, [

	$this_slug.'-button' => [

		'label' => $this_plural_name,
		'href' => admin_url('edit-tags.php?taxonomy='.$this_slug.'&post_type='.$this_location.''),

	],

]);

Additional context

None.

@theperfectwill
Copy link
Member Author

Solution:

a.page-title-action {
    white-space: nowrap;
}

Edit Page ‹ Site_Title — WordPress-03122021-182556

We could use the above to target all page actions buttons, which seems pretty good by default.

Or we could add a custom class for WPO's rendered page actions, to target only WPO Page Action buttons.

@theperfectwill theperfectwill added the enhancement New feature or request label Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants