Skip to content

Commit

Permalink
rename component
Browse files Browse the repository at this point in the history
  • Loading branch information
loicsapone committed Apr 24, 2024
1 parent 47dfaa1 commit 8a774db
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.component {
.view {
display: flex;
}

.component__content {
.view__content {
width: 100%;
position: relative;

Expand Down
6 changes: 2 additions & 4 deletions assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"02_generics/generics.misc"
;


// ------------------ //
// COMPONENTS
// ------------------ //
Expand All @@ -30,11 +29,10 @@
"05_components/components.tabs",
"05_components/components.actions",
"05_components/components.code",
"05_components/components.component"
"05_components/components.view"
;


// ------------------ //
// VENDORS
// ------------------ //
@import "../../vendor/tempest/highlight/src/Themes/github-light";
@import "../../vendor/tempest/highlight/src/Themes/github-light";
4 changes: 2 additions & 2 deletions templates/view.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@

<main class="main__inner resize" data-controller="tab resize" data-resize-orientation-value="vertical" data-resize-size-value="0.50">
{% if view is not null %}
<div class="component resize__panel" data-resize-target="panelA">
<div class="component__content resize" data-controller="resize" data-resize-orientation-value="horizontal" data-resize-size-value="1" data-resize-max-value="0.999">
<div class="view resize__panel" data-resize-target="panelA">
<div class="view__content resize" data-controller="resize" data-resize-orientation-value="horizontal" data-resize-size-value="1" data-resize-max-value="0.999">
<div class="resize__panel" data-resize-target="panelA">
<iframe src="{{ path('iq2i_storia_iframe', {view, variant: view.currentVariant}) }}" data-controls-target="iframe"></iframe>
</div>
Expand Down

0 comments on commit 8a774db

Please sign in to comment.