mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-27 15:22:56 +08:00
set fixed height to elements
This commit is contained in:
parent
c637cb40b2
commit
38863d0b8a
@ -12,6 +12,7 @@ const firaMono = Fira_Mono({
|
||||
weight: ["500"],
|
||||
subsets: ["latin"],
|
||||
display: "swap",
|
||||
preload: false,
|
||||
});
|
||||
|
||||
export { monaSans, firaMono };
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user