Skip to content

Commit 76a4e15

Browse files
committed
chore: more style polishing
1 parent d7157a4 commit 76a4e15

File tree

2 files changed

+22
-10
lines changed

2 files changed

+22
-10
lines changed

crates/rostra-web-ui/assets/style.css

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,6 @@ button {
149149
border: solid 1px;
150150
border-radius: 5px;
151151
border-color: var(--color-button-border);
152-
/* outline: none; */
153-
/* box-shadow: none; */
154152
appearance: none;
155153
-webkit-appearance: none;
156154
-moz-appearance: none;
@@ -169,16 +167,31 @@ p {
169167
textarea,
170168
input[type="text"],
171169
input[type="email"],
170+
input[type="username"],
172171
input[type="password"],
173172
input[type="number"],
174173
input[type="tel"],
175174
input[type="url"],
176175
input[type="search"] {
177176
background-color: var(--color-text-input-bg);
178177
color: var(--color-text-input);
179-
}
180178

181179

180+
font: inherit;
181+
cursor: pointer;
182+
color: var(--color-text-default);
183+
background: none;
184+
border: solid 1px;
185+
border-radius: 5px;
186+
border-color: var(--color-button-border);
187+
appearance: none;
188+
-webkit-appearance: none;
189+
-moz-appearance: none;
190+
191+
height: 1.75rem;
192+
padding: 0 .5rem;
193+
}
194+
182195
a {
183196
color: var(--color-link);
184197
text-decoration: none;
@@ -254,8 +267,9 @@ a:active {
254267
align-self: stretch;
255268
display: flex;
256269
flex-direction: column;
257-
gap: 10pt;
270+
gap: 3rem;
258271
padding: 5pt;
272+
justify-items: flex-start;
259273
}
260274

261275
@media (min-width: 768px
@@ -466,8 +480,6 @@ a:active {
466480
display: flex;
467481
justify-content: flex-start;
468482
gap: 0.5rem;
469-
padding-top: 0.5rem;
470-
padding-bottom: 0.5rem;
471483
}
472484

473485
.m-profileSummary__userImage {
@@ -589,9 +601,8 @@ a:active {
589601

590602
.m-addFolloweeForm {
591603
display: flex;
592-
flex-direction: column;
593-
align-items: flex-end;
594-
gap: 5pt;
604+
flex-direction: row;
605+
align-items: center;
595606
}
596607

597608
.m-addFolloweeForm__content {
@@ -631,7 +642,7 @@ a:active {
631642
}
632643

633644
.o-unlockScreen__form {
634-
padding: 1rem;
645+
padding: clamp(0px, 2.5vw, 2rem) clamp(0px, 5vw, 4rem);
635646
background: white;
636647
border-radius: 8px;
637648
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

crates/rostra-web-ui/src/routes/profile.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ impl UiState {
174174
}
175175
}
176176
}
177+
p ."m-profileSummary__bio" { (profile.bio) }
177178
}
178179
}
179180
})

0 commit comments

Comments
 (0)