# Why don't background codes work in full screen chat page?

**URL:** <https://meta.discourse.org/t/why-dont-background-codes-work-in-full-screen-chat-page/310204>\
**Category:** Development\
**Created:** [June 1, 2024, 3:40pm UTC](https://meta.discourse.org/t/why-dont-background-codes-work-in-full-screen-chat-page/310204 "2024-06-01T15:40:02Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![ogulcan1787](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ogulcan1787/32/128589_2.png) [@ogulcan1787](https://meta.discourse.org/u/ogulcan1787)\
**Post date:** [June 4, 2024, 1:09pm UTC](https://meta.discourse.org/t/why-dont-background-codes-work-in-full-screen-chat-page/310204/6 "2024-06-04T13:09:05Z")

</div>

```plaintext
.has-full-page-chat:not(.discourse-sidebar) #main-outlet {
  height: auto;
  position: absolute;
  left: 50%;
  right: 0;
  top: auto;
  bottom: auto;
  transform: translate(-50%, 0);
  box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.3);
}

```

I am currently using these codes and they are working.  
Please correct me if I’m wrong. Thanks

---

_[View the full topic](https://meta.discourse.org/t/why-dont-background-codes-work-in-full-screen-chat-page/310204)._
