Fixed a bug with the sidebar after firefox update and address bar display on ultrawide monitors#53
Open
Anlever wants to merge 2 commits intoShina-SG:mainfrom
Open
Fixed a bug with the sidebar after firefox update and address bar display on ultrawide monitors#53Anlever wants to merge 2 commits intoShina-SG:mainfrom
Anlever wants to merge 2 commits intoShina-SG:mainfrom
Conversation
**English version:** I'm not a CSS expert, but I tried to fix it. **Русский перевод:** Я не спец в CSS, но попытался починить. --- **English version:** I fixed the sidebar, which after a recent Firefox update had collapsed and wouldn’t expand. **Русский перевод:** Исправил боковую панель, которая после недавнего обновления Firefox сжалась и не разжималась. --- **English version:** I also adjusted the size of the address bar to make it appear more centered on ultrawide monitors (for example, mine is 3440x1440). I’m not sure how it will look on 16:9 monitors, but it should be fine there too. **Русский перевод:** Также изменил размер адресной строки, чтобы она более центрировано отображалась на широкоформатных мониторах (например, у меня 3440x1440). Не уверен, как это будет выглядеть на мониторах с соотношением 16:9, но, вроде бы, тоже должно нормально отображаться. --- **English version:** To speed up or slow down the sidebar expansion animation, you need to change the timing values on lines 968 and possibly 969, but I'm not completely sure. ```css /* line 968 */ width 0.2s cubic-bezier(0.4, 0, 0.2, 1), /* line 969 */ transform 0.3s ease; ``` **Русский перевод:** Чтобы уменьшить или увеличить скорость анимации расширения боковой панели, нужно изменить время в строках 968 и, возможно, 969, но я не совсем уверен. ```css /* строка 968 */ width 0.2s cubic-bezier(0.4, 0, 0.2, 1), /* строка 969 */ transform 0.3s ease; ``` --- **English version:** I also made the sidebar slightly recessed (shifted inward). To remove this effect, you need to delete or comment out lines 972 and 978. Specifically, these lines: ```css /* line 972 */ transform: translateX(-10px); /* line 978 */ transform: translateX(0); ``` **Русский перевод:** Я также немного «утопил» боковую панель (сдвинул внутрь). Чтобы убрать этот эффект, нужно удалить или закомментировать строки 972 и 978. А именно: ```css /* строка 972 */ transform: translateX(-10px); /* строка 978 */ transform: translateX(0); ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
English version:
I'm not a CSS expert, but I tried to fix it.
Русский перевод:
Я не спец в CSS, но попытался починить.
English version:
I fixed the sidebar, which after a recent Firefox update had collapsed and wouldn’t expand.
Русский перевод:
Исправил боковую панель, которая после недавнего обновления Firefox сжалась и не разжималась.
English version:
I also adjusted the size of the address bar to make it appear more centered on ultrawide monitors (for example, mine is 3440x1440). I’m not sure how it will look on 16:9 monitors, but it should be fine there too.
Русский перевод:
Также изменил размер адресной строки, чтобы она более центрировано отображалась на широкоформатных мониторах (например, у меня 3440x1440). Не уверен, как это будет выглядеть на мониторах с соотношением 16:9, но, вроде бы, тоже должно нормально отображаться.
English version:
To speed up or slow down the sidebar expansion animation, you need to change the timing values on lines 968 and possibly 969, but I'm not completely sure.
Русский перевод:
Чтобы уменьшить или увеличить скорость анимации расширения боковой панели, нужно изменить время в строках 968 и, возможно, 969, но я не совсем уверен.
English version:
I also made the sidebar slightly recessed (shifted inward). To remove this effect, you need to delete or comment out lines 972 and 978. Specifically, these lines:
Русский перевод:
Я также немного «утопил» боковую панель (сдвинул внутрь). Чтобы убрать этот эффект, нужно удалить или закомментировать строки 972 и 978. А именно: