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

Styling blips with v0.2.1 #33

Closed
bobbingwide opened this issue May 12, 2022 · 7 comments
Closed

Styling blips with v0.2.1 #33

bobbingwide opened this issue May 12, 2022 · 7 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers Gutenberg A bug / enhancement to Gutenberg

Comments

@bobbingwide
Copy link
Owner

SB v0.2.1 is functionally working fine. There are a couple of styling issues on my iPhone 13 mini and iPad.

  • metadates wrapping
  • no margins
  • drop down menu styling for Sulphurous Brewmasters and Some Background
  • font for tables could be smaller and/or horizontal scrolling supported
  • Site Building menu minimises to hamburger
@bobbingwide bobbingwide added enhancement New feature or request good first issue Good for newcomers Gutenberg A bug / enhancement to Gutenberg labels May 12, 2022
@bobbingwide bobbingwide self-assigned this May 12, 2022
@bobbingwide bobbingwide changed the title Styling blips Styling blips with v0.2.1 May 12, 2022
@bobbingwide
Copy link
Owner Author

bobbingwide commented Aug 7, 2022

drop down menu styling for Sulphurous Brewmasters and Some Background

This should be fixed in v0.3.0
IMG_3962

@bobbingwide
Copy link
Owner Author

Site Building menu minimises to hamburger

The navigation block needs to have the overlayMenu attribute set to never.

<!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"}} -->

@bobbingwide
Copy link
Owner Author

No margins

Can be resolved with some CSS for narrow devices

@media screen and  (max-width: 782px ) {
    .wp-site-blocks {
        margin: 0px 2%;
    }
}

@bobbingwide
Copy link
Owner Author

metadates wrapping
image

It looks better when arranged as a stack consisting of rows.
image

@bobbingwide
Copy link
Owner Author

bobbingwide commented Aug 8, 2022

font for tables could be smaller and/or horizontal scrolling supported

On the Table of attachments by date page the [bw_table] shortcode is wrapped in a Group.
Horizontal scrolling can be supported using inline CSS against this group.

 .wp-block-group {
overflow-x: auto;
overflow-y: hidden;
margin: 1em 0px;
}

Additional CSS styles the table.

table.bw_table { min-width: 800px; font-size: 14px; }
table th { text-align: left; }
  • The table's minimum width is set to to the minimum width of the main content.
  • The font size is reduced to 14px
  • The table headings are left aligned.

For some other notes see https://herbmiller.me/horizontally-scrolling-tables-on-narrow-devices/

@bobbingwide
Copy link
Owner Author

@bobbingwide
Copy link
Owner Author

These 5 blips have been fixed in v0.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers Gutenberg A bug / enhancement to Gutenberg
Projects
None yet
Development

No branches or pull requests

1 participant