Mercurial > libervia-templates
comparison 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 |
comparison
equal
deleted
inserted
replaced
170:6c251da9a4f3 | 171:cede18c118c9 |
---|---|
50 code { | 50 code { |
51 border: solid 1px #DDD; | 51 border: solid 1px #DDD; |
52 padding: 0.2em; | 52 padding: 0.2em; |
53 } | 53 } |
54 | 54 |
55 iframe { | |
56 border: 0; | |
57 width: 100%; | |
58 /* this value is used when js is not enabled */ | |
59 height: 100%; | |
60 } | |
61 | |
55 #main_area { | 62 #main_area { |
56 flex: 1; | 63 flex: 1; |
57 display: flex; | 64 display: flex; |
58 flex-direction: column; | 65 flex-direction: column; |
59 box-sizing: border-box; | 66 box-sizing: border-box; |