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

Scope global #content styles via extra class #3537

Merged
merged 2 commits into from
Dec 2, 2022

Conversation

st3iny
Copy link
Contributor

@st3iny st3iny commented Dec 2, 2022

Fix #3534

I also improved the documentation of NcGuestContent to clarify its usages and caveats.

Unrelated sites

Observe the bottom margin that was incorrectly applied to all pages before. Now, it's only applied when NcGuestContent is actually used.

Before After
image image

NcGuestContent sample usage from calendar appointments

The global styling still works with my patch applied. Otherwise, there would be weird margin between the bottom and the scrollable area.

nc-guest-content-after.webm

@st3iny st3iny added bug Something isn't working 3. to review Waiting for reviews regression Regression of a previous working feature labels Dec 2, 2022
@st3iny st3iny added this to the 7.1.1 milestone Dec 2, 2022
@st3iny st3iny self-assigned this Dec 2, 2022
@st3iny st3iny force-pushed the fix/3534/guest-content-unscoped-content branch from 956b978 to d8108cd Compare December 2, 2022 09:08
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
@st3iny st3iny force-pushed the fix/3534/guest-content-unscoped-content branch from d8108cd to 49c1003 Compare December 2, 2022 09:43
@st3iny st3iny requested a review from Pytal December 2, 2022 09:44
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works

@szaimen szaimen merged commit 9d70867 into master Dec 2, 2022
@szaimen szaimen deleted the fix/3534/guest-content-unscoped-content branch December 2, 2022 20:05
@skjnldsv skjnldsv modified the milestones: 7.1.1, 7.2.0 Dec 6, 2022
@skjnldsv skjnldsv mentioned this pull request Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working regression Regression of a previous working feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unscoped #content CSS from NcGuestContent breaks global content usage
6 participants