mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +00:00
Fix the height output for InsetBox.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32531 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cbe28d9d7a
commit
814af09a69
@ -486,7 +486,8 @@ docstring InsetBox::xhtml(XHTMLStream & xs, OutputParams const & runparams) cons
|
|||||||
string style;
|
string style;
|
||||||
if (!params_.width.empty())
|
if (!params_.width.empty())
|
||||||
style += ("width: " + params_.width.asHTMLString() + "; ");
|
style += ("width: " + params_.width.asHTMLString() + "; ");
|
||||||
if (!params_.height.empty())
|
// The special heights don't really mean anything for us.
|
||||||
|
if (!params_.height.empty() && params_.height_special == "none")
|
||||||
style += ("height: " + params_.height.asHTMLString() + "; ");
|
style += ("height: " + params_.height.asHTMLString() + "; ");
|
||||||
if (!style.empty())
|
if (!style.empty())
|
||||||
attrs += " style='" + style + "'";
|
attrs += " style='" + style + "'";
|
||||||
|
Loading…
Reference in New Issue
Block a user