Skip to content

Commit dc2d69b

Browse files
authored
fix: few styling for consistency (#1165)
1 parent 2681d47 commit dc2d69b

File tree

3 files changed

+866
-859
lines changed

3 files changed

+866
-859
lines changed

src/pages/about/about.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<main id='about-page' class='main'>
1+
<main id='about-page' class='main scroll'>
22
<div class="logo">
33
<img src='./res/logo/logo.png'/>
44
</div>

src/pages/about/about.scss

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
flex-direction: column;
55
align-items: center;
66
gap: 24px;
7+
overflow-y: auto;
78

89
.logo {
9-
width: 120px;
10-
height: 120px;
10+
width: clamp(80px, 25vmin, 120px);
11+
height: clamp(80px, 25vmin, 120px);
1112
border-radius: 24px;
1213
display: flex;
1314
align-items: center;
@@ -28,6 +29,7 @@
2829
background-repeat: no-repeat;
2930
background-position: center;
3031
background-size: contain;
32+
object-fit: contain;
3133
}
3234
}
3335
.version-info {
@@ -46,14 +48,18 @@
4648
.info-section {
4749
width: 100%;
4850
max-width: 400px;
51+
min-height: fit-content;
52+
height: auto;
4953
background: color-mix(
5054
in srgb,
5155
var(--popup-background-color) 20%,
5256
transparent
5357
);
5458
border-radius: 12px;
55-
overflow: hidden;
59+
overflow: visible;
5660
margin-bottom: 16px;
61+
display: flex;
62+
flex-direction: column;
5763
.info-item {
5864
display: flex;
5965
align-items: center;

0 commit comments

Comments
 (0)