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

Ensure correct column width for overly long words. #340

Merged
merged 1 commit into from
Sep 18, 2018
Merged

Conversation

jmfrenzel
Copy link
Contributor

Ensure correct column width in case of overly long words.

Be sure to include the A-Z Index page if it has been updated

bundle exec jekyll build
cp generated/a-z.md pages/

Then make sure that commit of pages/atoz.md is in this PR

Ensure correct column width in case of overly long words.
@@ -181,6 +181,7 @@ table th[class*="col-"] {

table td:first-child {
width: 150px;
Copy link
Contributor Author

@jmfrenzel jmfrenzel Sep 10, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder what was the reason to fix the first column for all tables in this style? My only guess was the tags pages, e.g. http://samvera.github.io/tag_getting_started.html
However the fixed column width breaks the view on mobile devices. I suggest to remove this line, too.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmfrenzel sorry for the delay in response to this. Can you give us a before and/or after screen shot of the behavior you're describing? We tried looking at what you are describing and we didn't see anything jump out at us.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working on _i18n support for the samvera documentation theme (see https://github.com/jmfrenzel/documentation-theme-jekyll-multiple_language_pop) and at the same time on a local site for research data management at RUB using a fixed table width one creates problems in case breaking long words (as we have in German).
For now it would be sufficient to get the idea behind introducing the fixed table width as in the original theme https://github.com/tomjoht/documentation-theme-jekyll/ it wasn't used.

In our dev deploy we use the latter config. Compare the English https://jekyll.rd.ruhr-uni-bochum.de/tag_getting_started.html and the German versions https://jekyll.rd.ruhr-uni-bochum.de/de/tag_getting_started.html

Copy link
Contributor

@afred afred left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@afred
Copy link
Contributor

afred commented Sep 18, 2018

Hi @jmfrenzel, do you have CLAs on file? (Sorry, I know it's legal rigmarole, but we need them on file to accept contributions).

@jmfrenzel
Copy link
Contributor Author

jmfrenzel commented Sep 18, 2018 via email

@afred afred merged commit e9a8c63 into master Sep 18, 2018
@afred afred deleted the jmfrenzel-patch-1 branch September 18, 2018 18:40
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

Successfully merging this pull request may close these issues.

None yet

2 participants