Skip to content

Commit 869c5b7

Browse files
committed
fix: make vertical Rule's height a variable, fixes #455
1 parent 616a1b4 commit 869c5b7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/rule/index.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ governing permissions and limitations under the License.
1212

1313
@import '../commons/index.css';
1414

15+
:root {
16+
--spectrum-rule-vertical-height: 100%;
17+
}
18+
1519
.spectrum-Rule {
1620
width: 100%;
1721

@@ -42,7 +46,7 @@ governing permissions and limitations under the License.
4246
}
4347

4448
.spectrum-Rule--vertical {
45-
height: 100%;
49+
height: var(--spectrum-rule-vertical-height);
4650

4751
&.spectrum-Rule--large {
4852
width: var(--spectrum-rule-large-height);

0 commit comments

Comments
 (0)