mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Tweak some wording
This commit is contained in:
parent
07c6d1228c
commit
dd48d8c876
@ -22,7 +22,7 @@
|
||||
|
||||
<p>You can control which variants are generated for the {{ $utility['name'] }} utilities by modifying the <code>{{ $utility['property'] }}</code> property in the <code>modules</code> section of your Tailwind config file.</p>
|
||||
|
||||
<p>For example, this config will <em>also</em> generate {{ $extraVariants }} variants:</p>
|
||||
<p>For example, this config will also generate {{ $extraVariants }} variants:</p>
|
||||
|
||||
@component('_partials.customized-config', ['key' => 'modules'])
|
||||
// ...
|
||||
@ -31,15 +31,19 @@
|
||||
@endcomponent
|
||||
|
||||
@isset($extraMessage)
|
||||
<p>{!! $extraMessage !!}</p>
|
||||
<p>{!! $extraMessage !!}</p>
|
||||
@endif
|
||||
|
||||
<h3>Disabling</h3>
|
||||
|
||||
<p>If you aren't using the {{ $utility['name'] }} utilities in your project, you can disable them entirely by setting the <code>{{ $utility['property'] }}</code> property to <code>false</code> in the <code>modules</code> section of your config file:</p>
|
||||
<p>If you don't plan to use the {{ $utility['name'] }} utilities in your project, you can disable them entirely by setting the <code>{{ $utility['property'] }}</code> property to <code>false</code> in the <code>modules</code> section of your config file:</p>
|
||||
|
||||
@component('_partials.customized-config', ['key' => 'modules'])
|
||||
// ...
|
||||
- {{ $utility['property'] }}: [{{$currentVariants}}],
|
||||
+ {{ $utility['property'] }}: false,
|
||||
@endcomponent
|
||||
|
||||
@isset($extraMessage)
|
||||
<p>{!! $extraMessage !!}</p>
|
||||
@endif
|
||||
|
||||
@ -272,11 +272,11 @@ For more information about Tailwind's responsive design features, check out the
|
||||
|
||||
@include('_partials.variants-and-disabling', [
|
||||
'utility' => [
|
||||
'name' => 'flexbox',
|
||||
'name' => 'align-content',
|
||||
'property' => 'flexbox',
|
||||
],
|
||||
'variants' => [
|
||||
'responsive',
|
||||
],
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the align-content utilities.'
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the align-content utilities.'
|
||||
])
|
||||
|
||||
@ -152,11 +152,11 @@ For more information about Tailwind's responsive design features, check out the
|
||||
|
||||
@include('_partials.variants-and-disabling', [
|
||||
'utility' => [
|
||||
'name' => 'flexbox',
|
||||
'name' => 'align-items',
|
||||
'property' => 'flexbox',
|
||||
],
|
||||
'variants' => [
|
||||
'responsive',
|
||||
],
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the align-items utilities.'
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the align-items utilities.'
|
||||
])
|
||||
|
||||
@ -154,11 +154,11 @@ For more information about Tailwind's responsive design features, check out the
|
||||
|
||||
@include('_partials.variants-and-disabling', [
|
||||
'utility' => [
|
||||
'name' => 'flexbox',
|
||||
'name' => 'align-self',
|
||||
'property' => 'flexbox',
|
||||
],
|
||||
'variants' => [
|
||||
'responsive',
|
||||
],
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the align-self utilities.'
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the align-self utilities.'
|
||||
])
|
||||
|
||||
@ -135,11 +135,11 @@ For more information about Tailwind's responsive design features, check out the
|
||||
|
||||
@include('_partials.variants-and-disabling', [
|
||||
'utility' => [
|
||||
'name' => 'flexbox',
|
||||
'name' => 'flex-direction',
|
||||
'property' => 'flexbox',
|
||||
],
|
||||
'variants' => [
|
||||
'responsive',
|
||||
],
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the flex-direction utilities.'
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the flex-direction utilities.'
|
||||
])
|
||||
|
||||
@ -101,11 +101,11 @@ For more information about Tailwind's responsive design features, check out the
|
||||
|
||||
@include('_partials.variants-and-disabling', [
|
||||
'utility' => [
|
||||
'name' => 'flexbox',
|
||||
'name' => 'flex display',
|
||||
'property' => 'flexbox',
|
||||
],
|
||||
'variants' => [
|
||||
'responsive',
|
||||
],
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the display utilities.'
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the display utilities.'
|
||||
])
|
||||
|
||||
@ -373,11 +373,11 @@ For more information about Tailwind's responsive design features, check out the
|
||||
|
||||
@include('_partials.variants-and-disabling', [
|
||||
'utility' => [
|
||||
'name' => 'flexbox',
|
||||
'name' => 'flex, grow, and shrink',
|
||||
'property' => 'flexbox',
|
||||
],
|
||||
'variants' => [
|
||||
'responsive',
|
||||
],
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the flex utilities.'
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the flex, grow, and shrink utilities.'
|
||||
])
|
||||
|
||||
@ -152,11 +152,11 @@ For more information about Tailwind's responsive design features, check out the
|
||||
|
||||
@include('_partials.variants-and-disabling', [
|
||||
'utility' => [
|
||||
'name' => 'flexbox',
|
||||
'name' => 'justify-content',
|
||||
'property' => 'flexbox',
|
||||
],
|
||||
'variants' => [
|
||||
'responsive',
|
||||
],
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the justify-content utilities.'
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the justify-content utilities.'
|
||||
])
|
||||
|
||||
@ -166,11 +166,11 @@ For more information about Tailwind's responsive design features, check out the
|
||||
|
||||
@include('_partials.variants-and-disabling', [
|
||||
'utility' => [
|
||||
'name' => 'flexbox',
|
||||
'name' => 'flex-wrap',
|
||||
'property' => 'flexbox',
|
||||
],
|
||||
'variants' => [
|
||||
'responsive',
|
||||
],
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the flex-wrap utilities.'
|
||||
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the flex-wrap utilities.'
|
||||
])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user