Skip to content

Commit be96cb1

Browse files
committed
Fix logo sizing
1 parent b0722ba commit be96cb1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/starlight-theme-mtasa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@multitheftauto/starlight-theme-mtasa",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "Starlight theme for Multi Theft Auto",
55
"type": "module",
66
"repository": {

packages/starlight-theme-mtasa/theme.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
height: var(--sl-nav-height-original);
3131
}
3232

33+
/* Fix the height of the logo that depends on the original height of the header. */
34+
.page > .header > .header .site-title img {
35+
height: calc(var(--sl-nav-height-original) - 2 * var(--sl-nav-pad-y));
36+
}
37+
3338
/* Increase the padding on the right side of header to move the search control to the left,
3439
to prevent hiding it beneath the menu button. */
3540
@media (max-width: 50rem) {

0 commit comments

Comments
 (0)