This repository was archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix(layout): 'flex' change per recommended workarounds #6205
Closed
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
33dd0a1
fix(layout): 'flex' change per recommended workarounds
ThomasBurleson 800dd43
fix(layout): 'flex' change per recommended workarounds
ThomasBurleson 17c3466
fix(layout): 'flex' change per recommended workarounds
ThomasBurleson 3fd83bd
fix(layout): 'flex' change per recommended workarounds
ThomasBurleson bb0fd20
fix(layout): 'flex' change per recommended workarounds
ThomasBurleson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,50 @@ | ||
|
||
<div ng-controller="AppCtrl" class="md-padding" ng-cloak> | ||
<fieldset class="standard"> | ||
<legend>Using <code>ng-model</code></legend> | ||
<div layout="row" layout-wrap> | ||
<div flex="50"> | ||
<md-checkbox ng-model="data.cb1" aria-label="Checkbox 1"> | ||
Checkbox 1: {{ data.cb1 }} | ||
</md-checkbox> | ||
<div> | ||
<fieldset class="standard"> | ||
<legend>Using <code>ng-model</code></legend> | ||
<div layout="column" layout-wrap layout-gt-sm="row" > | ||
<div flex-xs flex="50"> | ||
<md-checkbox ng-model="data.cb1" aria-label="Checkbox 1"> | ||
Checkbox 1: {{ data.cb1 }} | ||
</md-checkbox> | ||
</div> | ||
<div flex-xs flex="50"> | ||
<div layout-xs="column" flex-xs="100"> | ||
<md-checkbox | ||
ng-model="data.cb2" | ||
aria-label="Checkbox 2" | ||
ng-true-value="'yup'" | ||
ng-false-value="'nope'" | ||
class="md-warn md-align-top-left" flex> | ||
Checkbox 2 (md-warn) <br/> | ||
<span class="ipsum"> | ||
Duis placerat lectus et justo mollis, nec sodales orci congue. Vestibulum semper non urna ac suscipit. | ||
Vestibulum tempor, ligula id laoreet hendrerit, massa augue iaculis magna, | ||
sit amet dapibus tortor ligula non nibh. | ||
</span> | ||
<br/> | ||
{{ data.cb2 }} | ||
</md-checkbox> | ||
</div> | ||
</div> | ||
<div flex-xs flex="50"> | ||
<md-checkbox ng-disabled="true" aria-label="Disabled checkbox" ng-model="data.cb3"> | ||
Checkbox: Disabled | ||
</md-checkbox> | ||
</div> | ||
<div flex-xs flex="50"> | ||
<md-checkbox ng-disabled="true" aria-label="Disabled checked checkbox" ng-model="data.cb4" ng-init="data.cb4=true"> | ||
Checkbox: Disabled, Checked | ||
</md-checkbox> | ||
</div> | ||
<div flex-xs flex="50"> | ||
<md-checkbox md-no-ink aria-label="Checkbox No Ink" ng-model="data.cb5" class="md-primary"> | ||
Checkbox (md-primary): No Ink | ||
</md-checkbox> | ||
</div> | ||
</div> | ||
<div flex="50"> | ||
<md-checkbox | ||
ng-model="data.cb2" | ||
aria-label="Checkbox 2" | ||
ng-true-value="'yup'" | ||
ng-false-value="'nope'" | ||
class="md-warn md-align-top-left"> | ||
Checkbox 2 (md-warn) <br/> | ||
<span class="ipsum"> | ||
Duis placerat lectus et justo mollis, nec sodales orci congue. Vestibulum semper non urna ac suscipit. | ||
Vestibulum tempor, ligula id laoreet hendrerit, massa augue iaculis magna, | ||
sit amet dapibus tortor ligula non nibh. | ||
</span> | ||
<br/> | ||
{{ data.cb2 }} | ||
</md-checkbox> | ||
</div> | ||
<div flex="50"> | ||
<md-checkbox ng-disabled="true" aria-label="Disabled checkbox" ng-model="data.cb3"> | ||
Checkbox: Disabled | ||
</md-checkbox> | ||
</div> | ||
<div flex="50"> | ||
<md-checkbox ng-disabled="true" aria-label="Disabled checked checkbox" ng-model="data.cb4" ng-init="data.cb4=true"> | ||
Checkbox: Disabled, Checked | ||
</md-checkbox> | ||
</div> | ||
<div flex="50"> | ||
<md-checkbox md-no-ink aria-label="Checkbox No Ink" ng-model="data.cb5" class="md-primary"> | ||
Checkbox (md-primary): No Ink | ||
</md-checkbox> | ||
</div> | ||
</div> | ||
</fieldset> | ||
</fieldset> | ||
|
||
</div> | ||
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
div.flex-xs { | ||
min-height:40px; | ||
|
||
} | ||
.checkboxDemo1 div { | ||
clear: both; | ||
} | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This block needs a comment as to what it's doing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
existing code.