Skip to content

Commit

Permalink
Refactor static page styles and update version text
Browse files Browse the repository at this point in the history
- Changed the class name from 'euText' to 'versionText' in the Footer component for better clarity and semantic meaning.
- Updated CSS styles for 'euText' to improve layout and presentation, including changes to display properties and text alignment.
- Introduced new styles for 'versionText' to enhance visual separation and readability of the version information.

These changes aim to improve the user interface and overall presentation of static pages, ensuring a more polished and user-friendly experience.
  • Loading branch information
jhagberg committed Jan 3, 2025
1 parent ec33281 commit b9856e2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/static_pages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ export function Footer() {
och utbildningar, transport av värdefulla djur samt obduktioner.
</Typography>

<Typography className="euText">
Stamboken Online version :{" "}
<Typography className="versionText">
Stamboken Online version:{" "}
<a
target={"_blank"}
rel={"noopener noreferrer"}
Expand Down
11 changes: 10 additions & 1 deletion frontend/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,19 @@ list-item {
/* Used in static_pages.tsx */
.euText {
margin: 10px;
display: inline;
display: block;
font-size: 0.65em;
text-align: center;
flex-grow: 2;
white-space: normal;
word-wrap: break-word;
}

.versionText {
margin-top: 20px;
display: block;
text-align: center;
font-size: 0.65em;
}

/* Used in static_pages.tsx */
Expand Down

0 comments on commit b9856e2

Please sign in to comment.