CSS fixed position for right panel?

Hi, anyone have a solution how to use fixed position for the right panel ?
I’m trying to put picture in fixed position on top… in mobile view everything is ok, but in a tablet/desktop it stretches for the whole screen. I need it to be only in right panel at the top, fixed.

Hi
It’s a hassle finally I have a hard time with that.
There are a few things (by dint of testing)

What is an image component? or a direct html?

If possible to see your CSS for the mobile version (to have a base)

<div style="position: fixed; top:0px; left: 0%; z-index:1;" target="_blank">
<img class="back_image" src="IMAGE">
    <pre><span><style>
    .back_image{
    width: max(100%);
    }
    .jiuuwu svg {
    display: none;
    }
    [data-test="glide-app-bar"]
    {display: none}

Just a quick test.
I don’t know if this is the purpose of your research

let me try…

I deleted the first line <div … target …>

i need that on top, where bar is, i have to take out top and bottom bar

transform

that looks good… can you paste the code?

voilà

<img class="back_image" src="https://images.unsplash.com/photo-1519046904884-53103b34b206?ixid=MnwxMDEzNjV8MHwxfHNlYXJjaHwyfHxiZWFjaHxlbnwwfHx8fDE2MjA4MjMwODI&ixlib=rb-1.2.1">
    <pre><span><style>
    .back_image{
position:fixed;
width:10%;
left:calc(80% + 10px);
-ms-transform: translate(0%, -150%);
transform: translate(0%, -150%);
    }
    .jiuuwu svg {
    display: none;
    }
    [data-test="glide-app-bar"]
    {display: none}

is not working good, tablet and mobile have deferent result, i wanna cover whole top where bar should be

ah ok so i’m looking

this is what im trying to fix, and tablet view is not good

ok this version ?

<img class="back_image" src="https://images.unsplash.com/photo-1519046904884-53103b34b206?ixid=MnwxMDEzNjV8MHwxfHNlYXJjaHwyfHxiZWFjaHxlbnwwfHx8fDE2MjA4MjMwODI&ixlib=rb-1.2.1">
    <pre><span><style>
    .back_image{
position:fixed;
width:100%;
height:calc(20% + 10px);
margin-left:-15px;
-ms-transform: translate(0%, -10%);
transform: translate(0%, -100%);
    }
    .jiuuwu svg {
    display: none;
    }
    [data-test="glide-app-bar"]
    {display: none}

or

<img class="back_image" src="https://images.unsplash.com/photo-1519046904884-53103b34b206?ixid=MnwxMDEzNjV8MHwxfHNlYXJjaHwyfHxiZWFjaHxlbnwwfHx8fDE2MjA4MjMwODI&ixlib=rb-1.2.1">
    <pre><span><style>
    .back_image{
position:fixed;
width:200%;
height:calc(20% + 10px);
margin-left:-15px;
-ms-transform: translate(-20%, -100%);
transform: translate(-20%, -100%);
    }
    .jiuuwu svg {
    display: none;
    }
    [data-test="glide-app-bar"]
    {display: none}

for some rezone, right side is going too much

is there a way to set right margin where right panel ends?

I have never done a test in this direction.
I play with max-width to limit to the tablet view (which is fixed under glide)

<img class="back_image" src="https://images.unsplash.com/photo-1519046904884-53103b34b206?ixid=MnwxMDEzNjV8MHwxfHNlYXJjaHwyfHxiZWFjaHxlbnwwfHx8fDE2MjA4MjMwODI&ixlib=rb-1.2.1">
    <pre><span><style>
    .back_image{
position:fixed;
width:200%;
max-width:705px;
height:calc(20% + 10px);
margin-left:37px;
-ms-transform: translate(-8%, -100%);
transform: translate(-8%, -100%);
    }
    .jiuuwu svg {
    display: none;
    }
    [data-test="glide-app-bar"]
    {display: none}

almost perfect! i need it to be in front, so scrolling text will not go over it