Skip to content

Commit

Permalink
Add CSS selector for page type
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Nov 14, 2023
1 parent 6b36a57 commit d0e8a7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/realtime-compiler/resources/live-edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
@endphp
<style>{!! $styles !!}</style>
<template id="live-edit-template">
<section id="live-edit-container">
<section id="live-edit-container" @class([
'page-type-'.\Illuminate\Support\Str::kebab(class_basename($page::class)),
])>
<form id="liveEditForm" action="/_hyde/live-edit" method="POST">
<header id="liveEditHeader">
<h2>Live Editor</h2>
Expand Down

0 comments on commit d0e8a7e

Please sign in to comment.