Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to position popup? - 🧩 Plasmo Developers
�PD
🧩 Plasmo Developers
•
3y ago
vytautasm
How to position popup?
Hi
! With team we are trying plasmo and we are faced with quite simple issue
. we used tailwing and for example for popup
.tsx we had this
:
import React
,
{ useState
} from
'react
'
;
import
'
.
/style
.css
'
;
function IndexPopup
(
)
{
const
[data
, setData
]
= useState
(
"
"
)
;
return
(
<div style
=
{
{ all
:
"initial
"
}
}
>
<div className
=
{
fixed bottom-7 right-0 z-50 p-6 font-sans
fixed bottom-7 right-0 z-50 p-6 font-sans
}
>
<div className
=
"shadow
-lg rounded
-md p
-5 space
-y
-2 bg
-black text
-white
"
>
<
/div
>
Unfortunately
, it didn
't located on bottom right
, but when I do not use tailwind but just simple css
:
<div style
=
{
{ position
:
'fixed
'
, bottom
:
'1
.75rem
'
, right
:
'0
'
, zIndex
: 50
, padding
:
'1
.5rem
'
, fontFamily
:
'sans
-serif
'
}
}
>
Then I got a strange box
(attached img
)
Thank you for your insights
!
🧩 Plasmo Developers
Join
2,796
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How does sendToContentScript from popup work?
�PD
🧩 Plasmo Developers / 🔰newbie
3y ago
How to center popup to the top-tight of the screen?
�PD
🧩 Plasmo Developers / 🔰newbie
8mo ago
how to align an popup to the center of the page
�PD
🧩 Plasmo Developers / 🔰newbie
3y ago
How do you programatically close the popup?
�PD
🧩 Plasmo Developers / 🔰newbie
3y ago