Code blocks not rendered properly in smaller screens
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- CSS
- Estrelas
- 373
- Forks
- 325
- Merge médio
- 4d 18h
- PRs com merge (30d)
- 1
Descrição
I noticed an issue in which the code block in the "git log --oneline improvements" section renders badly in smaller screen. Further it also breaks the single-pagedness of the website. As a consequence, one might have to zoom in to read the post and scrolling might take you to empty space in the right. Screen shots:
-
Desktop view:

-
Mobile view (iPhone SE resolution)


Note the scroll bar in the bottom of the page.
It would be nice to fix this by making the code blocks render in such a way that the code within the block is scrollable rather than the whole page being scrollable.
Note: Initially mentioned in https://github.com/git/git.github.io/pull/366#issuecomment-471316738
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Comece pela seção “git log --oneline improvements” no site Git Developer Pages vinculado e reproduza o layout na resolução do iPhone SE mostrada nas capturas de tela. Inspecione os estilos responsivos que afetam os blocos de código; está concluído quando o próprio código rolar horizontalmente sem criar overflow em toda a página ou espaço vazio.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- css
- Domínio
- frontend, web-dev
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100