summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-09-17 23:54:30 -0600
committerDan Allen <dan.j.allen@gmail.com>2021-09-18 00:04:11 -0600
commit91ed87bf8760e80b161a348d17ae6c596adc84eb (patch)
tree7eb825ad744c5839cc10a0fc9170b7476191bf2c
parentb07be4e66487b0c90d58b009949ace0f9ef9b256 (diff)
don't set height to 100% on object tag in default stylesheet
- this setting is not relevant when max-width: 100% is also set
-rw-r--r--data/stylesheets/asciidoctor-default.css1
-rw-r--r--src/stylesheets/asciidoctor.css4
2 files changed, 0 insertions, 5 deletions
diff --git a/data/stylesheets/asciidoctor-default.css b/data/stylesheets/asciidoctor-default.css
index d2348ab7..0bd400a1 100644
--- a/data/stylesheets/asciidoctor-default.css
+++ b/data/stylesheets/asciidoctor-default.css
@@ -44,7 +44,6 @@ input[type=checkbox],input[type=radio]{padding:0}
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
textarea{overflow:auto}
img,object{max-width:100%;height:auto}
-object{height:100%}
.left{float:left!important}
.right{float:right!important}
.text-left{text-align:left!important}
diff --git a/src/stylesheets/asciidoctor.css b/src/stylesheets/asciidoctor.css
index 879e60f2..b4058e93 100644
--- a/src/stylesheets/asciidoctor.css
+++ b/src/stylesheets/asciidoctor.css
@@ -264,10 +264,6 @@ object {
height: auto;
}
-object {
- height: 100%;
-}
-
.left {
float: left !important;
}