-
-
Notifications
You must be signed in to change notification settings - Fork 10
Revert plugin details content styling in backend UI #51
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
base: main
Are you sure you want to change the base?
Revert plugin details content styling in backend UI #51
Conversation
|
The plugin detail page is not the only place where typography need to be revert. If you add a content page (page with texts) to a controller, you can see that it is not displayed the same between classic and Tailwind backend. |
|
Thanks for the feedback. I'm trying to test |
|
@Satoshi-Sh what you need :
You can go in a short way by just edit the |
|
Thanks for the guidance. I was finally able to create a backend page. The plugin content page works fine with the The issue with a backend controller pages is that they don't have a specific class name. I could make a class like I could try to add styling to basic elements globally, but I'm not sure how it affects to the existing backend styling. Let me know what you think. |
|
I'm not one of the project maintainers ... so my opinion is only advisory. I don't think that having a dedicated class for retrieving the default values of typography elements is the best solution. I think the best way to consider is either :
@LukeTowers your thoughts? |
If this works fine with the other pages, this will be the best. I might explore this option and keep updating. |
|
@Satoshi-Sh the preflight extending option looks good. Not sure why the logo isn't showing up for you, did you change the logo in the backend settings? |
b564817 to
a178ac2
Compare
|
@LukeTowers I haven't touched the backend setting. I created a new project with I also needed to run The project is now running, but the logo isn’t showing up. |
Logo not showing for me too (empty src attribute). |
@Satoshi-Sh you had to do that because you didn't pull in the plugin via composer ( The logo is rendered here: https://github.com/wintercms/wn-tailwindui-plugin/blob/main/skins/tailwindui/layouts/_menu-side.php#L34, @Satoshi-Sh could you do some debugging and see if you can figure out why it's not outputting anything? |
|
I found a typo on the code
|
|
@Satoshi-Sh what's the typo? Feel free to submit a PR fixing the issue |
|
Sure, I will make another PR. Oh e is a function, but when I delete the function. The logo came back. I will have a look at this. |




Related Issue
#49 and #34
Updates
The tailwind preflight reset the styling in the
plugin-details-content.To resolve this, I added
plugin-details-content.csswithrevertto keep the original styling.Screenshot