x
Security
../../../shared/bundle/ruby/3.4.0/gems/lookbook-2.3.11/app/components/lookbook/viewport/component.html.erb:28:22
26
class="grid bg-white relative -inset-px <%= "grid-cols-[1fr_17px]" if @resize_width %> <%= "grid-rows-[1fr_17px]" if @resize_height %>"
27
style="width: calc(100% + 2px); height: calc(100% + 1px); <%= "max-height: #{@max_height}px;" if @max_height.present? %>">
28
<iframe seamless<%= " id=#{@iframe_id}" if @iframe_id.present? %>
^
29
x-ref="iframe"
30
class="bg-lookbook-page-bg h-full w-full border border-lookbook-divider"
Use static attribute names with dynamic values instead.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!-- Border Accent Danger --><div class="p-4 text-sm flex items-start bg-danger-soft text-fg-danger-strong border-t-4 border-danger-subtle" role="alert"> <svg aria-hidden="true" class="w-4 h-4 shrink-0 me-2 mt-0.5" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" /></svg> <span class="sr-only">Danger</span> <div> A simple danger alert. Give it a click if you like. </div></div><!-- Border Accent Info --><div class="p-4 text-sm flex items-start bg-brand-softer text-fg-brand-strong border-t-4 border-brand-subtle" role="alert"> <svg aria-hidden="true" class="w-4 h-4 shrink-0 me-2 mt-0.5" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" /></svg> <span class="sr-only">Info</span> <div> A simple info alert. Give it a click if you like. </div></div><!-- Border Accent Success --><div class="p-4 text-sm flex items-start bg-success-soft text-fg-success-strong border-t-4 border-success-subtle" role="alert"> <svg aria-hidden="true" class="w-4 h-4 shrink-0 me-2 mt-0.5" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" /></svg> <span class="sr-only">Success</span> <div> A simple success alert. Give it a click if you like. </div></div>1
2
3
4
5
6
7
8
# Border Accent Dangerrender(Flowbite::Alert.new(border_accent: true, style: :danger)) { "A simple danger alert. Give it a click if you like." }# Border Accent Inforender(Flowbite::Alert.new(border_accent: true)) { "A simple info alert. Give it a click if you like." }# Border Accent Successrender(Flowbite::Alert.new(border_accent: true, style: :success)) { "A simple success alert. Give it a click if you like." }Show a thick border at the top of the alert instead of rounded corners.
No params configured.