Skip to content

Commit

Permalink
style: remove useless padding and center buttons (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
hfdem committed Aug 12, 2024
1 parent 713f355 commit 273a176
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
13 changes: 9 additions & 4 deletions client/src/components/LinkDisplay/Style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,12 @@
border-width: 1px;
font-family: inherit;
font-size: 18px;
width: 110px;
width: 100px;
height: 40px;
border-radius: 5px;
cursor: pointer;
outline: none;
border-color: #434343;
border-color: #4bb2f9;
background: #4bb2f9;
color: white;
margin-left: 5px;
Expand All @@ -178,7 +178,12 @@

.QrCodeContent{
display: flex;
align-items: center;
align-items: baseline;
justify-content: center;
}


.qrIcon {
display: inline-block;
margin-top: 0;
transform: translateY(2px);
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
.popup {
position: fixed;
bottom: 15%;
right: 47%;
left: 50%;
transform: translateX(-50%);
background-color: #fff;
font-weight: 600;
color: #333;
Expand Down
2 changes: 1 addition & 1 deletion client/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const App = () => {
const [darkMode] = useContext(ThemeContext);
return (
<div
style={{ background: darkMode ? "#121212" : "#f2f2f2", paddingBottom: "10px" }}
style={{ background: darkMode ? "#121212" : "#f2f2f2"}}
className={`${styles.defaultMode} ${!darkMode && styles.lightMode} `}
>
<Router>
Expand Down

0 comments on commit 273a176

Please sign in to comment.