Skip to content

Problem with inline styles and importing css and scss files #525

@amir-mln

Description

@amir-mln

Hi,
I'm using this library w/ nextjs+reactjs and i have faced two problems.

  1. every .glide__slide and the .glide__slides have this inline style that forcibly sets width to a very large number.
    02
    and here's the code i copied from your website :

  2. i installed the library with npm and there is problem importing the styles.
    when I import with <link> I get this error:
    head-manager.ts:70 GET http://localhost:3000/node_modules/@glidejs/glide/dist/css/glide.core.min.css net::ERR_ABORTED 404 (Not Found)

thank you for creating and publishing this library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions