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

Fix border for last Teaser #117

Merged
merged 2 commits into from
Jun 28, 2023
Merged

Fix border for last Teaser #117

merged 2 commits into from
Jun 28, 2023

Conversation

danalvrz
Copy link
Contributor

@danalvrz danalvrz commented Jun 23, 2023

To comply with the Vertical Spacing rule for the last Teaser

Copy link
Member

@davisagli davisagli left a comment

Choose a reason for hiding this comment

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

@danalvrz I tested this by manually editing /example/teaser-block in the bfs site to add a button. It works in view mode, but I still see the border when editing. I'm not sure if that's important or not, since in general the vertical spacing is not accurate when editing. /cc @sneridagh

@danalvrz
Copy link
Contributor Author

@davisagli I noticed that as well, and believe it is because some classes are not present in edit mode, for example next--is--[block type]. If needed, we can look into making that change.

@davisagli
Copy link
Member

Right, it depends on the classes added by the block wrapper, and we don't have that in edit mode. Okay for now.

@sneridagh sneridagh merged commit 64025a5 into main Jun 28, 2023
3 checks passed
@sneridagh sneridagh deleted the fix-last-teaser-border branch June 28, 2023 09:47
sneridagh added a commit that referenced this pull request Jun 29, 2023
* main:
  Fix css of Table of Contents block (#35) (#120)
  Fix border for last Teaser (#117)
  Fix css of grid image block css (#114)
  Fix Separator margins (#118)
  Quick CSS fix for introduction in view mode
  In-grid Image styles update (#111)
  Update in-grid slate styles (#110)
  Add rules and modify a few (#109)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants