diff --git a/data/Database.js b/data/Database.js index e6c6ce58..b556e862 100644 --- a/data/Database.js +++ b/data/Database.js @@ -31,7 +31,6 @@ export default class Database { definition, form, language, - PA, tokens, UR, }) { @@ -40,17 +39,14 @@ export default class Database { return normalize(definition)?.includes(q) || normalize(form)?.includes(q) - || normalize(PA)?.includes(q) || normalize(UR)?.includes(q) || tokens.some(function({ form, gloss, - PA, UR, }) { return normalize(form)?.includes(q) || normalize(gloss)?.includes(q) - || normalize(PA)?.includes(q) || normalize(UR)?.includes(q) }) diff --git a/layouts/main/main.css b/layouts/main/main.css index 98c2cb2a..45937ea1 100644 --- a/layouts/main/main.css +++ b/layouts/main/main.css @@ -55,6 +55,6 @@ html { main { flex-grow: 1; - max-inline-size: min(var(--measure), 100%); + max-inline-size: min(var(--measure), 100vw); padding: 1em; } \ No newline at end of file diff --git a/pages/About/About.css b/pages/About/About.css index affcab20..bd6f7672 100644 --- a/pages/About/About.css +++ b/pages/About/About.css @@ -26,7 +26,7 @@ blockquote p { #main { container-type: inline-size; - inline-size: 100%; + inline-size: 100vw; } .subtitle { diff --git a/pages/Component/Component.css b/pages/Component/Component.css index a94d9fe0..74204656 100644 --- a/pages/Component/Component.css +++ b/pages/Component/Component.css @@ -12,10 +12,10 @@ @import 'transcription.css'; :is(.metadata, .sources, .stems) { - overflow-x: auto; - margin-inline: 1em; - max-width: 100%; - width: 100%; + overflow-x: auto; + margin-inline: 1em; + max-inline-size: 100%; + inline-size: 100%; } .allomorphs { @@ -86,14 +86,14 @@ legend { } #main { - max-inline-size: min(60em, 100%); + max-inline-size: min(60em, 100vw); row-gap: 1em; } .page-header { align-items: center; text-align: center; - width: 100%; + inline-size: 100%; } table { diff --git a/pages/Search/Search.css b/pages/Search/Search.css index bb4dffec..87c36eac 100644 --- a/pages/Search/Search.css +++ b/pages/Search/Search.css @@ -35,7 +35,7 @@ /* Multi-Element Styles */ -:is(.form, .PA, .source-forms, .source-PA, .source-URs, .UR) { +:is(.form, .source-forms, .source-URs, .UR) { white-space: nowrap; } @@ -43,7 +43,7 @@ body { inline-size: fit-content !important; - max-inline-size: none; + max-inline-size: 100vw; min-inline-size: 100vw; overflow-x: auto !important; } @@ -119,7 +119,7 @@ label { #main { align-items: flex-start; align-self: stretch; - max-inline-size: 100%; + max-inline-size: 100vw; padding: 0; } @@ -167,7 +167,7 @@ label { border-collapse: separate; /* This is necessary for borders to stay fixed with position: sticky */ margin: 0; - min-inline-size: 100%; + min-inline-size: 100vw; & td { border-block-end: var(--cell-border); @@ -176,7 +176,7 @@ label { } /* Separator between component and sources fields */ - :is(td, th):nth-child(7) { + :is(td, th):nth-child(6) { border-inline-end: var(--thick-border); } @@ -226,8 +226,8 @@ label { } .results-wrapper { - inline-size: 100%; - max-inline-size: 100%; + inline-size: 100vw; + max-inline-size: 100vw; } search { diff --git a/pages/Search/Search.hbs b/pages/Search/Search.hbs index b690272e..2b115d26 100644 --- a/pages/Search/Search.hbs +++ b/pages/Search/Search.hbs @@ -72,11 +72,11 @@ {{!-- Component Fields --}} - + Components
(Project Orthography) {{!-- Token Fields --}} - + Sources
(Original Orthographies) @@ -105,13 +105,6 @@ {{#if UR }}{{ UR.priority }}{{/if}} - - - {{#if PA }}{{ PA.priority }}{{/if}} -