Skip to content

Commit

Permalink
bad fix: css mobile disables karma/kudos box (#1848)
Browse files Browse the repository at this point in the history
This whole page needs an overhaul

---------

Co-authored-by: Golbolco <Golbolco@users.noreply.github.com>
  • Loading branch information
Golbolco and Golbolco authored Jan 24, 2025
1 parent 53260ee commit f2e3808
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
19 changes: 19 additions & 0 deletions react_main/src/css/user.css
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,12 @@ iframe {
font-size: 20px;
}

.profile .avi-name .name-badges-container {
display: flex;
vertical-align: top;
gap: 8px;
}

.profile .avatar {
z-index: 5;
box-shadow: 0px 0px 5px black;
Expand Down Expand Up @@ -781,6 +787,19 @@ iframe {
flex-flow: column;
}

.profile .avi-name-row .left,
.profile .avi-name-row .right {
display: none;
}

.profile .avi-name-row {
display: flex;
flex-flow: column;
align-items: center;
position: relative;
font-size: 20px;
}

.profile .side.column {
margin: 10px 0px;
}
Expand Down
5 changes: 1 addition & 4 deletions react_main/src/pages/User/Profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,7 @@ export default function Profile() {
onUpload={onFileUpload}
/>
)}
<div
className="name-badges-container"
style={{ display: "flex", verticalAlign: "top", gap: "8px" }}
>
<div className="name-badges-container">
<div style={{ marginTop: "10px" }}>
<Badges groups={groups} />
</div>
Expand Down

0 comments on commit f2e3808

Please sign in to comment.