Skip to content

Commit

Permalink
Fix #310: Move width100/height100 CSS utility classes to defaultapp.css
Browse files Browse the repository at this point in the history
  • Loading branch information
dmandrioli committed Sep 22, 2014
1 parent cb0f2aa commit d6d46f1
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 30 deletions.
2 changes: 0 additions & 2 deletions LinearLayout.js
Expand Up @@ -12,8 +12,6 @@ define([
* Child elements in a LinearLayout container can be laid out horizontally or vertically.
* A child can have a flexible width or height depending on orientation.
* To enable flexibility of a child, add the CSS class "fill" on it.
* This widget also provides two utility CSS classes: width100 and height100.
* These classes are useful for setting width or height to 100% easily.
* @example
* <d-linear-layout>
* <div>...</div>
Expand Down
8 changes: 0 additions & 8 deletions LinearLayout/themes/LinearLayout_template.less
Expand Up @@ -16,11 +16,3 @@
.d-linear-layout > * {
position: relative;
}

.height100 {
height: 100%;
}

.width100 {
width: 100%;
}
6 changes: 0 additions & 6 deletions LinearLayout/themes/bootstrap/LinearLayout.css
Expand Up @@ -24,9 +24,3 @@
.d-linear-layout > * {
position: relative;
}
.height100 {
height: 100%;
}
.width100 {
width: 100%;
}
6 changes: 0 additions & 6 deletions LinearLayout/themes/holodark/LinearLayout.css
Expand Up @@ -24,9 +24,3 @@
.d-linear-layout > * {
position: relative;
}
.height100 {
height: 100%;
}
.width100 {
width: 100%;
}
6 changes: 0 additions & 6 deletions LinearLayout/themes/ios/LinearLayout.css
Expand Up @@ -24,9 +24,3 @@
.d-linear-layout > * {
position: relative;
}
.height100 {
height: 100%;
}
.width100 {
width: 100%;
}
2 changes: 0 additions & 2 deletions docs/LinearLayout.md
Expand Up @@ -63,8 +63,6 @@ require(["deliteful/LinearLayout", "requirejs-domready/domReady!"], function (Li

The layout direction is controlled by the `vertical` property which is `true` by default.

In addition to the `fill` CSS class, this element provides two utility CSS classes: `width100` and `height100` that respectively set width and height to 100%.

The *main* direction of a LinearLayout is controlled by the ``vertical`` property which is true by default.
The direction perpendicular to the *main* axis is called the *cross* direction. For example, if the *main* direction is vertical, *the cross* direction is horizontal.

Expand Down

0 comments on commit d6d46f1

Please sign in to comment.