mirror of
https://github.com/google/nomulus
synced 2026-02-04 12:02:30 +00:00
Fix the monospace font so the screendiff tests work correctly
see b/34094769 for context The webdriver tests don't choose a correct font when we specify "monospace". As a result, we don't render correctly pages that use monospace. Here we instead explicitly reference a monospace font we know exists in the webdriver: Courier New. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=226233831
This commit is contained in:
@@ -22,7 +22,7 @@ h1 {
|
||||
}
|
||||
|
||||
pre {
|
||||
font-family: monospace;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ input[readonly], textarea[readonly] {
|
||||
|
||||
textarea {
|
||||
margin-bottom: 1em;
|
||||
font-family: monospace;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
font-size: 13px;
|
||||
border: solid 1px #ddd;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user