added layout elements
This commit is contained in:
+18
-12
@@ -1,15 +1,21 @@
|
||||
import dash_mantine_components as dmc
|
||||
from dash import html
|
||||
|
||||
def generate_header():
|
||||
header = dmc.Header(
|
||||
height=80,
|
||||
children=[
|
||||
dmc.Container(
|
||||
children=[
|
||||
html.H2(children="Visual Critical Discourse Analysis Tool", style={"margin-left": "20px", "padding-top": "-5px"}),
|
||||
], size="xl", px="xl",
|
||||
),
|
||||
]
|
||||
)
|
||||
return header
|
||||
|
||||
header_element = dmc.Header(
|
||||
height=80,
|
||||
children=[
|
||||
dmc.Container(
|
||||
children=[
|
||||
html.H2(
|
||||
children="Visual Critical Discourse Analysis Tool",
|
||||
style={
|
||||
"margin-left": "20px",
|
||||
"padding-top": "-5px"
|
||||
},
|
||||
),
|
||||
],
|
||||
size="xl", px="xl",
|
||||
),
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user