mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-19 07:56:02 +01:00
tweak(web/textui): change box style
This commit is contained in:
@@ -18,7 +18,7 @@ debugData([
|
|||||||
{
|
{
|
||||||
action: "textUi",
|
action: "textUi",
|
||||||
data: {
|
data: {
|
||||||
text: "[E] - Access locker inventory \n [G] - Do something else",
|
text: "[E] - Access locker inventory \n [G] - Do something else",
|
||||||
position: "right-center",
|
position: "right-center",
|
||||||
icon: "door-open",
|
icon: "door-open",
|
||||||
},
|
},
|
||||||
@@ -58,11 +58,12 @@ const TextUI: React.FC = () => {
|
|||||||
<ScaleFade in={visible} unmountOnExit>
|
<ScaleFade in={visible} unmountOnExit>
|
||||||
<Box
|
<Box
|
||||||
bg="gray.700"
|
bg="gray.700"
|
||||||
boxShadow="lg"
|
boxShadow="md"
|
||||||
p={3}
|
p={3}
|
||||||
fontFamily="Poppins"
|
fontFamily="Poppins"
|
||||||
|
fontSize="0.95em"
|
||||||
style={data.style}
|
style={data.style}
|
||||||
borderRadius="md"
|
borderRadius="sm"
|
||||||
maxW="xs"
|
maxW="xs"
|
||||||
>
|
>
|
||||||
<Flex justifyContent="center" alignItems="center">
|
<Flex justifyContent="center" alignItems="center">
|
||||||
@@ -71,7 +72,7 @@ const TextUI: React.FC = () => {
|
|||||||
fixedWidth
|
fixedWidth
|
||||||
icon={data.icon}
|
icon={data.icon}
|
||||||
color={data.iconColor}
|
color={data.iconColor}
|
||||||
fontSize="1.4rem"
|
fontSize="1.3em"
|
||||||
style={{ paddingRight: 8 }}
|
style={{ paddingRight: 8 }}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user