create account

STEEM UI Defect: Fixed height for iFrame by techstack

View this thread on: hive.blogpeakd.comecency.com
· @techstack · (edited)
$2.08
STEEM UI Defect: Fixed height for iFrame
Although #Steemit has very flat and clean UI which gives great user experience but I have found small UI defect on Steemit. It seems small but in user perceptive it's not odd. It gives bad user experience.  

In my last post [Crypto Podcast Bulletin: Today's top 5 Crypto currency news to listen](https://steemit.com/bitcoin/@techstack/crypto-podcast-bulletin-today-s-top-5-crypto-currency-news-to-listen) I had used embedded code  to show the audio player which includes iframe and it had fixed ```height='166'``` but due to fixed ```height='100%'``` in CSS class ```.Markdown div.videoWrapper iframe ``` the audio player not rendering correctly.

Here is following screen shot with default CSS class style:
![New Project (2).jpg](https://steemitimages.com/DQmP16GBEHNLnvCs4mo3F8q4PnTNjdK73u5Q9C8NwzgQkLt/New%20Project%20(2).jpg)

If I changed the ```iframe``` height to 166 in the console it still didn't change the height because of fixed ```height='100%'``` in ```.Markdown div.videoWrapper iframe ``` which is forcing element to render 100% height. See below screen shot:

![New Project (7).jpg](https://steemitimages.com/DQmULzbbaZvG2zSxFSktAENR88AhGWSkyjW47RZLpsEp8V3/New%20Project%20(7).jpg)

Now if I remove ```height='100%'``` in CSS class ```.Markdown div.videoWrapper iframe ``` it fixes the issue. See screen shot below:

 ![New Project (4).jpg](https://steemitimages.com/DQmW9bkaTNc5fqJjVN62ueJap2CJpdH8SBzBznScWd4XPw2/New%20Project%20(4).jpg)

It should not use ```height='100%'``` always. Some it depend on situations but you should always test in various scenarios.

I hope some one will notice this and correct it.

<hr />

![footer-post-main.jpg](https://steemitimages.com/DQmRB94AnVWZzzL7AhgxxkPaCNdm4njyVWM1qBiqcZWMzJp/footer-post-main.jpg)
👍  , , , , , , , , , , , , , , , , , , ,
properties (23)
authortechstack
permlinksteem-ui-defect-fixed-height-for-iframe
categoryutopian-io
json_metadata{"tags":["utopian-io","steem","css","ui-defect","steemit"],"image":["https://steemitimages.com/DQmP16GBEHNLnvCs4mo3F8q4PnTNjdK73u5Q9C8NwzgQkLt/New%20Project%20(2).jpg","https://steemitimages.com/DQmULzbbaZvG2zSxFSktAENR88AhGWSkyjW47RZLpsEp8V3/New%20Project%20(7).jpg","https://steemitimages.com/DQmW9bkaTNc5fqJjVN62ueJap2CJpdH8SBzBznScWd4XPw2/New%20Project%20(4).jpg","https://steemitimages.com/DQmRB94AnVWZzzL7AhgxxkPaCNdm4njyVWM1qBiqcZWMzJp/footer-post-main.jpg"],"links":["https://steemit.com/bitcoin/@techstack/crypto-podcast-bulletin-today-s-top-5-crypto-currency-news-to-listen"],"app":"steemit/0.1","format":"markdown"}
created2018-04-23 14:10:30
last_update2018-04-24 18:24:21
depth0
children2
last_payout2018-04-30 14:10:30
cashout_time1969-12-31 23:59:59
total_payout_value1.600 HBD
curator_payout_value0.475 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,761
author_reputation745,033,069,601
root_title"STEEM UI Defect: Fixed height for iFrame"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id51,686,963
net_rshares300,074,161,632
author_curate_reward""
vote details (20)
@crypto.piotr ·
very informative post. thx :)

upvoted
properties (22)
authorcrypto.piotr
permlinkre-techstack-steem-ui-defect-fixed-height-for-iframe-20180424t013133820z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-04-24 01:31:33
last_update2018-04-24 01:31:33
depth1
children1
last_payout2018-05-01 01:31:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length38
author_reputation27,396,789,428,606
root_title"STEEM UI Defect: Fixed height for iFrame"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id51,777,247
net_rshares0
@techstack ·
Thanks @crypto.piotr
properties (22)
authortechstack
permlinkre-cryptopiotr-re-techstack-steem-ui-defect-fixed-height-for-iframe-20180424t051108965z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["crypto.piotr"],"app":"steemit/0.1"}
created2018-04-24 05:11:09
last_update2018-04-24 05:11:09
depth2
children0
last_payout2018-05-01 05:11:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length20
author_reputation745,033,069,601
root_title"STEEM UI Defect: Fixed height for iFrame"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id51,799,561
net_rshares0