# Theme Component CSS Changes - Preview Button Disappears

**URL:** https://meta.discourse.org/t/theme-component-css-changes-preview-button-disappears/192944
**Category:** Feature
**Created:** [June 7, 2021, 4:28am UTC](https://meta.discourse.org/t/theme-component-css-changes-preview-button-disappears/192944 "2021-06-07T04:28:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![markersocial](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markersocial/32/170136_2.png) [@markersocial](https://meta.discourse.org/u/markersocial)
#### Post date: [June 7, 2021, 4:28am UTC](https://meta.discourse.org/t/theme-component-css-changes-preview-button-disappears/192944/1 "2021-06-07T04:28:14Z")

</div>

This is pretty minor and fairly inconsequential, I think it’s a bug though so just posting it here. This is on Stable 2.7.1.

So when your open the editor for a theme component (i.e. to edit CSS) there is a save and preview button. Once any change has been made, the preview button disappears and only save can be used.

I think this is a bug, as I believe the preview link is normally for seeing the changes prior to saving them.

Edit: Unless I’ve misunderstood and the purpose is to preview components that aren’t implemented on a live theme. If I delete changes (reverting back to exact match the previously saved version) the preview button remains hidden.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [June 7, 2021, 6:59pm UTC](https://meta.discourse.org/t/theme-component-css-changes-preview-button-disappears/192944/2 "2021-06-07T18:59:55Z")

</div>

> [@markersocial](#):
>
> the purpose is to preview components that aren’t implemented on a live theme

Yes this is the case. Changes can’t be previewed until they’re saved.
