feat/live-preview #1

Merged
ricardo merged 16 commits from feat/live-preview into Release/V0.0.3 2025-07-23 02:24:34 +00:00
2 changed files with 22 additions and 1 deletions
Showing only changes of commit 2a6e5fb2e9 - Show all commits

View File

@ -232,6 +232,7 @@
display: block; display: block;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
.expanded-description { .expanded-description {
@ -240,6 +241,27 @@
font-size: 0.9rem; font-size: 0.9rem;
line-height: 1.5; line-height: 1.5;
margin-bottom: 0.75rem; margin-bottom: 0.75rem;
max-height: 150px; /* Ajuste conforme necessário */
overflow-y: auto;
padding-right: 0.5rem; /* Espaço para a scrollbar */
/* Styling da scrollbar (opcional) */
scrollbar-width: thin;
scrollbar-color: var(--primary-color) transparent;
}
.expanded-description::-webkit-scrollbar {
width: 6px;
}
.expanded-description::-webkit-scrollbar-track {
background: transparent;
}
.expanded-description::-webkit-scrollbar-thumb {
background-color: var(--primary-color);
border-radius: 3px;
} }
.expanded-price { .expanded-price {

View File

@ -13,7 +13,6 @@
<style> <style>
@{ @{
var partialOutput = await Html.PartialAsync("_ThemeStyles", Model.Theme); var partialOutput = await Html.PartialAsync("_ThemeStyles", Model.Theme);
using (var writer = new System.IO.StringWriter()) using (var writer = new System.IO.StringWriter())
{ {
partialOutput.WriteTo(writer, HtmlEncoder); partialOutput.WriteTo(writer, HtmlEncoder);