Skip to content

Commit aed68ee

Browse files
committed
fix(css): removed calc due to limited browser support
1 parent 6b9403f commit aed68ee

4 files changed

Lines changed: 18 additions & 6 deletions

File tree

dist/embed.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/embed.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,10 @@ code {
138138
}
139139

140140
.ejs-video-detail {
141-
width: calc(100% - 200px);
141+
position: absolute;
142+
left: 200px;
143+
right: 10px;
144+
height: 100%;
142145
float: left;
143146
padding-left: 15px;
144147
box-sizing: border-box;
@@ -248,7 +251,10 @@ code {
248251
}
249252

250253
.ejs-ogp-details {
251-
width: calc(100% - 200px);
254+
position: absolute;
255+
left: 200px;
256+
right: 10px;
257+
height: 100%;
252258
display: inline-block;
253259
margin-left: -4px;
254260
vertical-align: top;

src/embed.css

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/embed.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)