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

Images missing max-width property #18

Closed
paskal opened this issue Mar 20, 2018 · 4 comments
Closed

Images missing max-width property #18

paskal opened this issue Mar 20, 2018 · 4 comments

Comments

@paskal
Copy link

paskal commented Mar 20, 2018

Hello!

I've stumbled upon the very same issue as the dim0627/hugo_theme_beg#19, only part of the image visible on the screenshot where whole should be:
image

@paskal
Copy link
Author

paskal commented Mar 20, 2018

Thanks a lot, images looks fine now.
I've found out a strange behavior of source code snippet:
image

Source of this part:

Предпочитаем выбор метода шифрования сервера, поскольку на нём мы можем выбрать, какие методы использовать предпочтительней ([docs](http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_prefer_server_ciphers "Module ngx_http_ssl_module"), [ru_docs](http://nginx.org/ru/docs/http/ngx_http_ssl_module.html#ssl_prefer_server_ciphers "Модуль ngx_http_ssl_module")).

    ssl_ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS;

Только безопасные методы шифрования, [Forward secrecy](https://en.wikipedia.org/wiki/Forward_secrecy "Forward secrecy — Wikipedia, the free encyclopedia") где это возможно.

Expected behavior is scrollable source code line, what I observe is part of the line is outside the edge, but there is no scroll and no way to see the text right of the edge of the browser.

@jrutheiser
Copy link
Owner

@paskal have you tried using the syntax highlighter shortcode for these?

https://gohugo.io/content-management/syntax-highlighting/#example-highlight-shortcode

@paskal
Copy link
Author

paskal commented Mar 21, 2018

@jrutheiser I've tried and it works. But it doesn't change the fact something is wrong with standard markdown source code block, which works on the github page of the issue but doesn't in the theme.

It's all up to you to fix or not to fix them, I'm just reporting bare minimum of functionality which prevent my blog from using this theme (and fix of which will make theme trouble-free for everyone who use this functionality as well).

@jrutheiser
Copy link
Owner

@paskal I appreciate the feedback. I'll look into that when I can but feel free to open a pull request if you would like it changed sooner.

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