Skip to content

Commit

Permalink
Improve narrow logo and explain justification indentation on landing (#…
Browse files Browse the repository at this point in the history
…644)

* Improve narrow logo and explain justification indentation on landing

Signed-off-by: Carl Gieringer <[email protected]>

* Update Header.scss

---------

Signed-off-by: Carl Gieringer <[email protected]>
  • Loading branch information
carlgieringer committed Feb 17, 2024
1 parent f8b6715 commit d8f714e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 7 additions & 0 deletions premiser-ui/src/Header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@
#title {
font-family: "Orbitron", sans-serif;
font-weight: 400;

// Set a width-relative size normally…
font-size: 1.2vw;
// …but below a certain width, stop shrinking the text
@media (max-width: 768px) {
font-size: 0.6em;
}
}
6 changes: 2 additions & 4 deletions premiser-ui/src/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ export default function Header() {
const dispatch = useDispatch();
return (
<AppBar id="header">
<AppBarTitle>
<Link to="/">
<span id="title">howdju?</span>
</Link>
<AppBarTitle id="title">
<Link to="/">howdju?</Link>
</AppBarTitle>
<AppBarTitle id="main-search-container">
<MainSearch />
Expand Down
3 changes: 2 additions & 1 deletion premiser-ui/src/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,8 @@ export default class LandingPage extends Component {

<p>
Justifications can either support or oppose the truth of a
proposition.
proposition. (Justifications indented to the left support the things
above them—those indented to the right oppose things above them.)
</p>

<div className="banner">
Expand Down

0 comments on commit d8f714e

Please sign in to comment.