set fixed height to elements

This commit is contained in:
AykutSarac 2023-08-04 17:29:30 +03:00
parent c637cb40b2
commit 38863d0b8a
No known key found for this signature in database
3 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,7 @@ const firaMono = Fira_Mono({
weight: ["500"],
subsets: ["latin"],
display: "swap",
preload: false,
});
export { monaSans, firaMono };

View File

@ -67,6 +67,9 @@ const StyledBottomBarItem = styled.button<{ $error?: boolean }>`
font-weight: 400;
color: ${({ theme, $error }) => ($error ? theme.DANGER : theme.INTERACTIVE_NORMAL)};
background: ${({ $error }) => $error && "rgba(255, 99, 71, 0.4)"};
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
&:hover:not(&:disabled) {
background-image: linear-gradient(rgba(0, 0, 0, 0.1) 0 0);

View File

@ -15,6 +15,7 @@ const StyledNavbar = styled.div`
justify-content: space-between;
align-items: center;
width: 90vw;
height: 56px;
margin: 0 auto;
border: 2px solid black;
background: white;