casbin / casbin-website-v2

The new docs website for Casbin based on Docusaurus v2
https://casbin.org
Apache License 2.0
19 stars 69 forks source link

Policy Persistence and Policy Enforcement at Scale images do not stay centered between certain breakpoints!! #51

Closed SteveSayantan closed 2 years ago

SteveSayantan commented 2 years ago

image

Issue

As seen in the image, the figures tend to shift to the left between screen size 550px and 998px (approx.).

Type of Issue:

Front End

Typical Behavior:

The images should stay centered at any screen size.

Platform:

Windows 10, Browser: Chrome

casbin-bot commented 2 years ago

@tangyang9464 @closetool @sagilio

hsluoyz commented 2 years ago

@SteveSayantan good! Can you fix this?

SteveSayantan commented 2 years ago

@hsluoyz I would definitely like to give it a try!! But as I've just started learning React, it may take some time to create a PR.

SteveSayantan commented 2 years ago

@hsluoyz I have discovered a fault in the CSS, but unfortunately can't figure out where the CSS is coming from. I have gone through the docs but nothing seems to help. I need some guidance regarding this.

Selflocking commented 2 years ago

fix by https://github.com/casbin/casbin-website-v2/pull/56