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
<!-- Label Inside --><div class="w-full bg-neutral-quaternary rounded-full" aria-valuemax="100" aria-valuemin="0" aria-valuenow="45" role="progressbar"> <div class="bg-brand text-xs font-medium text-white text-center py-0.5 leading-none rounded-full h-4 flex items-center justify-center" style="width: 45%"> 45% </div></div><!-- Label Outside --><div class="flex justify-between mb-1"> <span class="text-sm font-medium text-body">Flowbite</span> <span class="text-sm font-medium text-body">45%</span></div><div class="w-full bg-neutral-quaternary rounded-full h-2" aria-label="Flowbite" aria-valuemax="100" aria-valuemin="0" aria-valuenow="45" role="progressbar"> <div class="bg-brand h-2 rounded-full" style="width: 45%"> </div></div>1
2
3
4
5
# Label Insiderender(Flowbite::Progress.new(label_position: :inside, progress: 45))# Label Outsiderender(Flowbite::Progress.new(label: "Flowbite", label_position: :outside, progress: 45))Show the progress percentage inside or outside the progress bar.
No params configured.