AppBridge TitleBar web component does not align with Polaris Page component styles #11039
Replies: 4 comments
-
Hey @cyberwombat 👋🏽 Sorry the confusion! Polaris React is what the Shopify Admin is built with. Can you tell us more about what you mean by |
Beta Was this translation helpful? Give feedback.
-
Yes - here's a shot showing the use of Code:
I am following this tutorial. I would like it to look like this: |
Beta Was this translation helpful? Give feedback.
-
Thank you, this helps a lot! It looks like you're using the new vanilla Web Component version of the AppBridge TitleBar. Have you already migrated to Polaris v12.0.0? I will flag this issue with the AppBridge team, I believe this will be fixed once they upgrade to v12.0.0 of Polaris. |
Beta Was this translation helpful? Give feedback.
-
I just migrated everything - was on v11 and now on v12 but it looks exactly the same as before. You mention this is the vanilla Web Component... but the docs use them in a React context:
Why are the title attributes of the Page component not used here? I started from the |
Beta Was this translation helpful? Give feedback.
-
I'm quite confused - I am following tutorials on shopify.dev that for example use
ui-title-bar
for the title which effectively makes my app look out of place. If instead I use<Page title...
it now looks the same. But if I use<Page...
and its correspondingprimaryActions
andsecondaryActions
I once again have something out of place since the S admin doesn't use buttons like that but instead uses a regular<button
element which renders this useless. So I have to use a bunch of css to fix theui-title-bar
. Why does Polaris not look like the admin when I thought that was the entire point.Beta Was this translation helpful? Give feedback.
All reactions