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

Kill horizontal scroll #16

Closed
gasyoun opened this issue Nov 23, 2020 · 8 comments
Closed

Kill horizontal scroll #16

gasyoun opened this issue Nov 23, 2020 · 8 comments
Labels
bug Something isn't working

Comments

@gasyoun
Copy link
Member

gasyoun commented Nov 23, 2020

@funderburkjim guess there is no real need to have such a scroll, it does not even fit my huge monitor.

scroll

@funderburkjim
Copy link

This is like the problem you noticed in funderburkjim/WhitneyGrammar#1.

The solution there was to add css:

p,section {
 max-width:600px;
 text-align:justify;
 margin-right:10px;
}

I'll aim for a similar change to basic display.

funderburkjim added a commit that referenced this issue Nov 24, 2020
@funderburkjim
Copy link

Changed web/webtc/main.css.

Now the example above looks like:
image

@funderburkjim
Copy link

And if you narrow the browser window (even to an extremely narrow width), it still is reasonable, I think:
image

@funderburkjim
Copy link

Currently, this change is present only for Lanman.

If others agree with the solution, I'll apply to other dictionaries (such as MW).

@gasyoun
Copy link
Member Author

gasyoun commented Nov 24, 2020

Currently, this change is present only for Lanman.

Very well looking.

If others agree with the solution, I'll apply to other dictionaries (such as MW).

@drdhaval2785 ?

@drdhaval2785
Copy link

I am super dumb regarding frontend. Whatever suits Marcis may be done.

@funderburkjim
Copy link

@drdhaval2785

The websanlexicon regeneration scripts currently include lanman.
And also the pywork regeneration scripts.

.../scans/csl-pywork/v02
> grep lan *.sh
redo_cologne_all.sh:sh generate_dict.sh lan  ../../LANScan/2020/
redo_xampp_all.sh:sh generate_dict.sh lan  ../../lan
> cd ../../csl-websanlexicon/v02
> grep lan *.sh
redo_cologne_all.sh:sh generate_web.sh lan  ../../LANScan/2020/
redo_xampp_all.sh:sh generate_web.sh lan  ../../lan

Let me know if lanman is missing somewhere else.

@funderburkjim
Copy link

The above solution to the 'long-line' problem is now installed for
displays for all dictionaries.

@gasyoun gasyoun added the bug Something isn't working label Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants