fix header
This commit is contained in:
parent
10c6006112
commit
1161dad904
136
dist/layout.js
vendored
136
dist/layout.js
vendored
File diff suppressed because one or more lines are too long
@ -18,10 +18,7 @@ function ActualHeader() {
|
|||||||
<Header.Logo src={demoLogo} />
|
<Header.Logo src={demoLogo} />
|
||||||
|
|
||||||
<Header.Brand>
|
<Header.Brand>
|
||||||
<Header.Title>سامانه نمونه هوش تجاری</Header.Title>
|
<Header.Title>سامانه مدیریت کاربران</Header.Title>
|
||||||
{/* <Header.Description>
|
|
||||||
پیشنمایش مستقیم کامپوننت Header از سورس UI Kit
|
|
||||||
</Header.Description>*/}
|
|
||||||
</Header.Brand>
|
</Header.Brand>
|
||||||
</Header.BrandSection>
|
</Header.BrandSection>
|
||||||
|
|
||||||
|
|||||||
@ -34,6 +34,7 @@ function BrandSection({ children, ...props }) {
|
|||||||
return (
|
return (
|
||||||
<HStack
|
<HStack
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
|
justifyContent="flex-start"
|
||||||
h="100%"
|
h="100%"
|
||||||
minW={0}
|
minW={0}
|
||||||
flex="1"
|
flex="1"
|
||||||
@ -64,11 +65,12 @@ function Logo(props) {
|
|||||||
function Brand({ children, ...props }) {
|
function Brand({ children, ...props }) {
|
||||||
return (
|
return (
|
||||||
<VStack
|
<VStack
|
||||||
alignItems="start"
|
alignItems="flex-start"
|
||||||
justifyContent="center"
|
justifyContent="center"
|
||||||
h="100%"
|
h="100%"
|
||||||
minW={0}
|
minW={0}
|
||||||
flex="1"
|
maxW="100%"
|
||||||
|
flex="0 1 auto"
|
||||||
spacing={{ base: 0, lg: 1 }}
|
spacing={{ base: 0, lg: 1 }}
|
||||||
{...props}
|
{...props}
|
||||||
>
|
>
|
||||||
@ -80,10 +82,11 @@ function Brand({ children, ...props }) {
|
|||||||
function Title({ children, ...props }) {
|
function Title({ children, ...props }) {
|
||||||
return (
|
return (
|
||||||
<Text
|
<Text
|
||||||
w="100%"
|
maxW="100%"
|
||||||
fontWeight="bold"
|
fontWeight="bold"
|
||||||
fontSize={{ base: "15px", lg: "20px" }}
|
fontSize={{ base: "15px", lg: "20px" }}
|
||||||
lineHeight="short"
|
lineHeight="short"
|
||||||
|
textAlign="start"
|
||||||
noOfLines={1}
|
noOfLines={1}
|
||||||
{...props}
|
{...props}
|
||||||
>
|
>
|
||||||
@ -95,9 +98,10 @@ function Title({ children, ...props }) {
|
|||||||
function Description({ children, ...props }) {
|
function Description({ children, ...props }) {
|
||||||
return (
|
return (
|
||||||
<Text
|
<Text
|
||||||
w="100%"
|
maxW="100%"
|
||||||
fontSize={{ base: "10px", sm: "11px", lg: "16px" }}
|
fontSize={{ base: "10px", sm: "11px", lg: "16px" }}
|
||||||
lineHeight={{ base: "shorter", lg: "normal" }}
|
lineHeight={{ base: "shorter", lg: "normal" }}
|
||||||
|
textAlign="start"
|
||||||
noOfLines={1}
|
noOfLines={1}
|
||||||
{...props}
|
{...props}
|
||||||
>
|
>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user