Skip to content

Commit

Permalink
chore(demo): remove global class b-full-width
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbarsukov committed Mar 11, 2024
1 parent c2d591b commit 2bf31fa
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,7 @@
</tui-accordion>
</tui-doc-demo>

<tui-accordion
class="b-full-width"
[closeOthers]="false"
>
<tui-accordion [closeOthers]="false">
<tui-accordion-item [open]="true">
TuiAccordionComponent
<ng-template tuiAccordionItemContent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<tui-doc-demo>
Darth Vader is (spoilers below):
<tui-expand
class="b-full-width"
[async]="async"
[expanded]="expanded"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
></tui-input-card-grouped>
</ng-template>
</tui-doc-demo>
<div class="b-full-width tui-space_bottom-6">
<div class="tui-space_bottom-6">
<p>
Add
<code>tuiCreateLuhnValidator(customMessage?)</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,14 @@
</form>
</ng-template>
</tui-doc-demo>
<div class="b-full-width tui-space_bottom-6">
<div class="tui-space_bottom-6">
<p>
Add
<code>tuiCreateLuhnValidator(customMessage?)</code>
to control validators to validate it with Luhn algorithm
</p>
</div>
<tui-accordion
class="b-full-width"
[closeOthers]="false"
>
<tui-accordion [closeOthers]="false">
<tui-accordion-item [open]="true">
TuiInputCardComponent
<ng-template tuiAccordionItemContent>
Expand Down
2 changes: 1 addition & 1 deletion projects/demo/src/modules/icons/icons.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
</ng-template>

<ng-template pageTab="Component">
<div class="b-full-width">
<div>
<tui-svg
[src]="icon"
(tui-icon-error)="documentationPropertyIconErrorChange.emitEvent($event)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</ng-template>

<ng-template pageTab>
<p class="text b-full-width">
<p class="text">
Formatted number:
{{ value | tuiFormatNumber: {decimalLimit, decimalSeparator} }}
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</ng-template>

<ng-template pageTab>
<p class="text b-full-width">
<p class="text">
Formatted phone number:
{{ index | tuiFormatPhone: countryCode : phoneMask }}
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</ng-template>

<ng-template pageTab>
<p class="b-full-width">
<p>
Method
<strong>
<code tuiText="scroll$: Observable<[number, number]>"></code>
Expand Down
4 changes: 0 additions & 4 deletions projects/demo/src/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,3 @@ body {
margin-bottom: 1.25rem;
}
}

.b-full-width {
width: 100%;
}

0 comments on commit 2bf31fa

Please sign in to comment.