Skip to content

Commit

Permalink
Added max height as -moz-max-height for firefoz
Browse files Browse the repository at this point in the history
  • Loading branch information
elrumo committed Jul 22, 2021
1 parent b5a2416 commit 45123e9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
9 changes: 6 additions & 3 deletions website/macos-big-sur-icons/src/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
<div id="iconList" class="icon-list-area p-b-30 ">

<!-- Ad -->
<div style="min-height: 205px; max-height:226px" class="card-hover relative coral-card">
<div style="min-height: 205px; max-height:240px" class="card-hover relative coral-card">

<div style="z-index: 1; height: 100%; width: 100%" class="absolute carbon-card-ad">
<script
Expand Down Expand Up @@ -347,8 +347,10 @@ import dotenv from 'dotenv'; // Used to access env varaibles
dotenv.config()
// TODO: remove credentials
const VUE_APP_PARSE_APP_ID = process.env.VUE_APP_PARSE_APP_ID
const VUE_APP_PARSE_JAVASCRIPT_KEY = process.env.VUE_APP_PARSE_JAVASCRIPT_KEY
const VUE_APP_PARSE_APP_ID = "macOSicons"
const VUE_APP_PARSE_JAVASCRIPT_KEY = "macOSicons"
// const VUE_APP_PARSE_APP_ID = process.env.VUE_APP_PARSE_APP_ID
// const VUE_APP_PARSE_JAVASCRIPT_KEY = process.env.VUE_APP_PARSE_JAVASCRIPT_KEY
Parse.initialize(VUE_APP_PARSE_APP_ID, VUE_APP_PARSE_JAVASCRIPT_KEY)
Parse.serverURL = 'https://media.macosicons.com/parse'
Expand Down Expand Up @@ -513,6 +515,7 @@ export default {
parent.getAd()
const { getters } = parent.$store;
let fullPath = parent.$route.fullPath
let currentUser = Parse.User.current()
if (fullPath.includes("/?username=") && !currentUser) {
Expand Down
22 changes: 17 additions & 5 deletions website/macos-big-sur-icons/src/components/app.less
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ select{
display: flex;
justify-content: space-between;
width: fit-content;
width: -moz-fit-content;
// width: 85%;
margin: auto;
padding: 15px 0px;
Expand Down Expand Up @@ -172,9 +173,9 @@ select{
margin: auto !important;
position: relative !important;
padding: 10px !important;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
top: 25px;
// left: 50%;
// transform: translateY(-50%);
display: grid;
gap: 7px;
text-align: center;
Expand All @@ -189,7 +190,8 @@ select{
}

.lgbt-wrapper .support-page{
transform: translate(-50%, 0%);
top: 0px;
// transform: translateY(0%) !important;
}

.coral--dark .instructions-item{
Expand Down Expand Up @@ -698,6 +700,7 @@ coral-buttongroup button{

.burger-btn{
width: fit-content;
width: -moz-fit-content;
margin: auto 0px auto auto;
}

Expand Down Expand Up @@ -975,6 +978,7 @@ coral-buttongroup button{
border-color: rgb(225, 225, 225);
border-radius: var(--main-border-radius);
margin: auto;
max-height: 240px;
// min-height: 200px;
}

Expand Down Expand Up @@ -1098,6 +1102,7 @@ coral-buttongroup button{
gap: 20px;
width: 100%;
height: fit-content;
height: -moz-fit-content;
}

.icon-list-area a{
Expand All @@ -1110,7 +1115,9 @@ coral-buttongroup button{
margin: auto;
position: relative;
height: fit-content;
height: -moz-fit-content;
width: fit-content;
width: -moz-fit-content;
}

.card-img-wrapper{
Expand Down Expand Up @@ -1204,7 +1211,8 @@ coral-buttongroup button{
}

.width-fit{
width: fit-content
width: fit-content;
width: -moz-fit-content;
}

.loading-popup{
Expand Down Expand Up @@ -1247,6 +1255,7 @@ coral-buttongroup button{

.download-counter-wrapper{
height: fit-content;
height: -moz-fit-content;
display: flex;
margin: auto;
gap: 7px;
Expand Down Expand Up @@ -1633,6 +1642,7 @@ coral-buttongroup button{
display: grid;
grid-template-columns: auto auto;
width: fit-content;
width: -moz-fit-content;
height: 42px;
border-radius: 5px;
backdrop-filter: brightness(0.3) blur(50px) grayscale(0.2);
Expand Down Expand Up @@ -1677,6 +1687,7 @@ coral-buttongroup button{

.waiting-wrapper{
width: fit-content;
width: -moz-fit-content;
margin: auto;
padding-top: 30px;
}
Expand Down Expand Up @@ -1722,6 +1733,7 @@ coral-buttongroup button{
padding: 5px;
margin-top: 7px;
width: fit-content;
width: -moz-fit-content;
}

.options-popover ._coral-Popover-tip {
Expand Down

1 comment on commit 45123e9

@vercel
Copy link

@vercel vercel bot commented on 45123e9 Jul 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.