Fix "Insert Header" Toolbar Button Responsive Styling #9342
Labels
CSS
easy
feature
explains that the issue is to add a new feature
help wanted
requires help by anyone willing to contribute
Milestone
In the legacy editor, the "Insert Header" toolbar button's icon completely disappears when you resize the window.
Specifically, if the window's width is greater than 700px and less than 1000px.
Video
(The Header button is the H in the video below)
Screen.Recording.2021-03-20.at.8.33.22.PM.mov
How to Reproduce
Go to any place that uses the legacy editor on our site. This includes notes, wikis, and questions.
It also includes
/wiki/new
.Suggested Fixes
You'll have to do some research in the codebase and the CSS stylesheets.
The partial for the toolbar is at
/app/views/editor/_toolbar.html.erb
:plots2/app/views/editor/_toolbar.html.erb
Lines 29 to 44 in 07a243d
I notice that the icon is wrapped in a
span
with classd-md-none
, so that might be it. But definitely play around with this and see what you find!This is a great issue for someone who just completed an FTO and wants something a little more challenging.
Post a comment here to claim this issue, and afterward, feel free to post a comment asking for help if you get stuck!
The text was updated successfully, but these errors were encountered: