Skip to content

Commit

Permalink
Merge pull request #589 from matematikk-mooc/sindre/DIT-478
Browse files Browse the repository at this point in the history
DIT-478: Browser-specific fill-available
  • Loading branch information
mdl314 authored Dec 11, 2024
2 parents dc7bb7b + 3069b8e commit be42e78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vue/components/Banner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ const server= SERVER
img {
width: webkit-fill-available;
height: webkit-fill-available;
width: moz-available;
height: moz-available;
flex-grow: 0;
object-fit: contain;
}
Expand Down
1 change: 1 addition & 0 deletions src/vue/design/reveal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
align-items: center;
justify-content: space-between;
width: -webkit-fill-available;
width: -moz-available;
padding: 0.5rem;
border: solid 2px $color-black;
font-family: Roboto;
Expand Down

0 comments on commit be42e78

Please sign in to comment.