From c7cd63107b551ddb8fe201340f1fa9cbe97f8af0 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 18 Jun 2014 21:52:34 -0700 Subject: [PATCH] fixes #13346: add a variable for .dl-horizontal's offset --- less/type.less | 4 ++-- less/variables.less | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/less/type.less b/less/type.less index 93414474aa..5eb69f3c21 100644 --- a/less/type.less +++ b/less/type.less @@ -219,13 +219,13 @@ dd { @media (min-width: @grid-float-breakpoint) { dt { float: left; - width: (@component-offset-horizontal - 20); + width: (@dl-horizontal-offset - 20); clear: left; text-align: right; .text-overflow(); } dd { - margin-left: @component-offset-horizontal; + margin-left: @dl-horizontal-offset; } } } diff --git a/less/variables.less b/less/variables.less index c6edad147c..2f339fb41b 100644 --- a/less/variables.less +++ b/less/variables.less @@ -836,6 +836,8 @@ @blockquote-border-color: @gray-lighter; //** Page header border color @page-header-border-color: @gray-lighter; +//** Width of horizontal description list titles +@dl-horizontal-offset: @component-offset-horizontal; //== Miscellaneous