Skip to content

Commit 0985187

Browse files
fix(toggle): remove full width rule from ionic theme (#30809)
Issue number: internal --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> - even when the justify was undefined, the toggle was full-width: ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - It's possible to have an inline input; - If a full width is needed, use the justify prop; ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> [basic](https://ionic-framework-git-rou-12327-ionic1.vercel.app/src/components/toggle/test/basic/?ionic:theme=ionic) [item](https://ionic-framework-git-rou-12327-ionic1.vercel.app/src/components/toggle/test/item?ionic:theme=ionic) [label](https://ionic-framework-git-rou-12327-ionic1.vercel.app/src/components/toggle/test/label?ionic:theme=ionic) --------- Co-authored-by: ionitron <[email protected]>
1 parent dd0c849 commit 0985187

File tree

58 files changed

+0
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+0
-2
lines changed
-329 Bytes
-491 Bytes
-149 Bytes
-408 Bytes

0 commit comments

Comments
 (0)