Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(demo): remove global class b-full-width #6971

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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%;
}
Loading