Sitelet https://github.com/replicate/scribble-diffusion/issues/20
Skip to content

on the small screen the footer text is going out and it's not make the container that wrap the text to be responsive #20

Description

@Ben-lad

To make the footer text responsive, you can use CSS media queries to adjust the font size, line height, and container width based on the screen size. You can also use CSS flexbox or grid layout to ensure that the container wraps the text properly.

if need the css3 code

`/* Set a default font size and line height */
.footer-text {
font-size: 16px;
line-height: 1.5;
}

/* Use media queries to adjust font size and line height for smaller screens */
@media screen and (max-width: 600px) {
.footer-text {
font-size: 14px;
line-height: 1.3;
}
}

/* Use flexbox or grid to ensure container wraps text */
.footer-container {
display: flex;
flex-wrap: wrap;
max-width: 100%;
}
`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions