Mercurial > libervia-templates
diff sat_templates/templates/default/static/styles.css @ 171:cede18c118c9
js (common): added fitHeightToContent to fit <iframe> to its content + <iframe> CSS
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 25 Jan 2019 11:28:41 +0100 |
parents | 6c251da9a4f3 |
children | 4a03d0a6839b |
line wrap: on
line diff
--- a/sat_templates/templates/default/static/styles.css Sat Jan 19 11:49:18 2019 +0100 +++ b/sat_templates/templates/default/static/styles.css Fri Jan 25 11:28:41 2019 +0100 @@ -52,6 +52,13 @@ padding: 0.2em; } +iframe { + border: 0; + width: 100%; + /* this value is used when js is not enabled */ + height: 100%; +} + #main_area { flex: 1; display: flex;