simon reported an alignment issue in the Discourse development environment’s admin .form-horizontal area, where setting buttons were either hidden behind input lists or overlapped text fields. They provided screenshots and a CSS fix involving floating .setting-controls to the right. cregox and cpradio could not reproduce the issue using the latest Vagrant image, with cpradio noting they tested on Chrome 42 on Windows 7. simon confirmed using Chrome 42 and Firefox 35, speculating if the rake admin:create command affected the markup, though cpradio dismissed this. After a full reinstallation, simon found the problem resolved, suspecting a local error with git pull. codinghorror asked about browser zoom or width, but simon concluded the issue was entirely on their end.
I’m seeing this in the development environment with the latest version of Discourse in the admin .form-horizontal area.
For category colors the .setting-control buttons are hidden behind the .input-setting-list
For the text input area the setting buttons are overtop of the text input.
This is a possible fix. Maybe it will throw something else off though.
/* float .setting-controls to right instead of left */
.settings .setting .setting-controls,
.settings .setting button[title="reset"] {
float: right;
}
The only admin area I have access to right now is in a development environment. Maybe that has something to do with the problem. I had never seen it before I pulled the latest version of Discourse with the new Vagrant image.
I reinstalled everything and the problem is gone. I can’t see a difference in the markup or the css. It may be that I was not using git pull correctly.