knighty / fimfiction-issues

Fimfiction Issue Tracker
27 stars 1 forks source link

Just a literal bug fix #396

Open BackgroundPhouny opened 3 years ago

BackgroundPhouny commented 3 years ago

Issue:

At ‘https://www.fimfiction.net/chapter/XXXXXXX#edit’ Textbox reaches out of the web page, consequently dragging out the minimal size of the overall page size. Not a problem for usual desktop width, but for smaller screens like mobile and tablet it is very much noticeable.

Cause:

The textbox has a dead set size on 600px, which doesn’t change no matter the size of the page.

Fix:

<input type="text" name="title" value="Prologue" style="width:600px;"> <input type="text" name="title" value="Prologue" style="width:100%;">

Fixed by changing the size value of the textbox from 600px to 100%. This way the textbox automatically adjusts its size to 100% of its parent element.

Test:

Functional. The textbox now follows the size of its parent element which is already set to follow the size of its own parent element.

Afterword: Now let’s see if there is anyone left who still cares about this site enough to implement this.

I love FimFiction and I am a beginner web developer, so I welcome the experience and I'll gladly give a helping hand. That said, I won’t be wasting my time here if this doesn’t get any response. Why should I be fixing bugs if there is no-one implementing them.