mirror of
https://github.com/google/nomulus.git
synced 2025-06-29 15:53:35 +02: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:
parent
2cc4a9fb2f
commit
7ade0f0adb
2 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue