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

Larger #area to let user zoom out #293

Open
v2lrf opened this issue Mar 21, 2020 · 1 comment
Open

Larger #area to let user zoom out #293

v2lrf opened this issue Mar 21, 2020 · 1 comment

Comments

@v2lrf
Copy link

v2lrf commented Mar 21, 2020

can't have permission to push branch

in order to let user zoom out and keep png background when he has large DB

I do not have any large background with tecno used inside this repo so i have some issues to make it running local, and i was wondering if it could be possible for one of you to fix that little css and update it on www ?

/* inside /styles/material-inspired.css*/
#area {
        position: relative;
        background: transparent url(../images/back_dim.png);
        width: 3000px;
        height: 3000px;
        opacity: 0.7;
 }
/* to*/
#area {
        position: relative;
        background: transparent url(../images/back_dim.png);
        width: 100%;
        height: 100%;
        opacity: 0.7;
 }

and

/* inside /styles/original.css*/
#area {
        position: relative;
        background: transparent url(../images/back.png);
        width: 3000px;
        height: 3000px;
 }
/* to*/
 #area {
        position: relative;
        background: transparent url(../images/back.png);
        width: 100%;
        height: 100%;
 }
@ondras
Copy link
Owner

ondras commented Mar 31, 2020

Hi @v2lrf , sorry for the delay.

What exactly is your goal here? I tried adjusting the size as suggested and it broke the app in an expected way: the #area is now smaller, so when you scroll around (you can, because the SVG canvas is still 3000x3000), you have ugly white background (and not the proper background raster).

It might be better to describe a problem you are encountering, instead of suggesting a way to fix it. I believe we would be able to figure something out, provided we have a proper understanding of the issue you ran into.

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

No branches or pull requests

2 participants