Opened 4 years ago
Closed 2 years ago
#2709 closed enhancement (fixed)
Change the font-family for the PW web query to a monospace font
| Reported by: | Lisa Burke | Owned by: | Kay Kittell |
|---|---|---|---|
| Priority: | minor | Milestone: | Server 2.3.3 |
| Component: | Public Website 2 | Version: | N/A |
| Severity: | Keywords: | Font-family monospace font | |
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
Sorry one more (because I’m currently doing a web query), but very small: change the font-family for the PW web query to a monospace font so that the characters all line up. It just makes SQL easier to read. Also disable spell-checking because it’s distracting and unhelpful.
It would be nice if it was wider (80 characters is standard for code), but that seems to mess with the rest of the formatting, so maybe not a priority. I’ve included that change for consideration nonetheless.
Here is the the proposed html and css (in a monospace font, changes in red):
<textarea name="ctl00$MainContent$txtSql" rows="6" cols="20" id="MainContent_txtSql" class="form-control" placeholder="Enter or load from the existing file a select statement. Any column that is not a simple column must be aliased." style="width: inherit" spellcheck="false"></textarea>
textarea#MainContent_txtSQL {
font-family: consolas,monospace;
width: 80ch;
}
Change History (3)
comment:1 by , 4 years ago
| Milestone: | → Server 2.3.3 |
|---|---|
| Priority: | medium → minor |
| Status: | new → addressed |
comment:3 by , 2 years ago
| Resolution: | → fixed |
|---|---|
| Status: | addressed → closed |

Changed webquery to turn off spellcheck and make css changes for a monospace text and width of 80ch.