You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please specify what version of the library you are using: [ 1.7.0 ]
Expected / Desired Behavior / Question
On an out-of-the-box SharePoint WebPart like "Highlighted content" when you view the page with browser width less than 320px the font-size used is 14px, then from 320px to 480px the font-size used for the title is 21px, and when the browser width is greater than 480px the font-size is 24px.
I expect that the font-size of the <WebPartTitle /> should do the same thing as out-of-the-box SharePoint WebPart.
Observed Behavior
The font-size of <WebPartTitle /> is always 24px no matter how wide or thin my browser is.
I'm just not sure how to test this change, first time modifying a package. 😳
I figured out how to reference a local package in package.json and have tested the change. There was a bug with my change, I had max-width when it should've been min-width in the media query. 😅
Category
[ ] Enhancement
[X] Bug
[ ] Question
Version
Please specify what version of the library you are using: [ 1.7.0 ]
Expected / Desired Behavior / Question
On an out-of-the-box SharePoint WebPart like "Highlighted content" when you view the page with browser width less than 320px the font-size used is
14px
, then from 320px to 480px the font-size used for the title is21px
, and when the browser width is greater than 480px the font-size is24px
.I expect that the font-size of the
<WebPartTitle />
should do the same thing as out-of-the-box SharePoint WebPart.Observed Behavior
The font-size of
<WebPartTitle />
is always24px
no matter how wide or thin my browser is.Steps to Reproduce
Add a
<WebPartTitle />
control to a custom WebPart per the documentation, then run the WebPart and add it to the workbench. Now shrink the browser window to a size smaller than 480px wide and observe that the font-size of the rendered title doesn't adjust.The text was updated successfully, but these errors were encountered: