gkellogg / rdf-distiller

Translate any RDF format to any other using Ruby RDF gems

Home Page:http://rdf.greggkellogg.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"format" drop-downs not tall enough

VladimirAlexiev opened this issue · comments

A very minor cosmetic:
The "format" and "output format" drop-downs are not tall enough, so the selected format is not visible:
image

What browser are you on? It seems to be fine for my using Safari.

On my laptop, latest Chrome Version 79.0.3945.130 (Official Build) (64-bit) on Windows 10.

On mobile, Chrome for Android, see shot below.
Screenshot_20200218-050711_Chrome

The site's certainly not well designed for mobile, but I'm not able to reproduce your issue on Android for iPhone. If you'd like to suggest some CSS to address this, I'd be happy to incorporate.

Really, though, I'd expect browsers to be able to render these controls without any specific changes. I presume that you've selected the drop-downs and selected some specific format and it's showing up messed up. You might try using the developer tools to update the CSS for that element to see what it takes to make it show up.

Odd that it happens for you on both Desktop and mobile.

It happens even in initial state.
I'll inspect the CSS when I'm on desktop

This comes from http://rdf.greggkellogg.net/assets/application-6ac19de42fa72bacbf8dfd00e3e06e8ebd2c31a65b0e4807c4e4dc4403bf8236.css:

.form-control.form-control-sm {
    height: 20px;
    line-height: 20px;

Subtract 1+6+6+1 for border & padding, and that leaves only 6 pixels for the content:
image

The padding comes from https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/less/forms.less

.form-control {
  padding: @padding-base-vertical @padding-base-horizontal;
  // which resolves to:
    padding: 6px 12px;