Issue with CSS alignment in Microsoft Edge mobile version

https://i.sstatic.net/k2OVY.jpg

When I access the website using Microsoft Edge on my mobile device, I encounter this issue. I have applied the following CSS for these buttons:

.footer-wrapper a i[class^="cfi"] {
width: 50px;
height: 50px;
line-height: 50px;
display: inline-block;
vertical-align: middle;
}

Am I missing something? Is there a way to use developer tools on mobile devices? Because when I change the user agent on my laptop, everything appears to be working correctly.

Answer №1

If you provide me with the full HTML context, it will assist in finding a solution. One simple approach could be to utilize flex-center for alignment.

.footer-wrapper a i[class^="cfi"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Maintaining a set margin with a width that can adjust relative to the parent container's size

Is there a way to achieve this layout using only CSS and HTML? I want to create 2 divs, one nested inside the other. The parent div should span 100% of the window width, while the child div should have fixed margins and fluid width filling the remaining s ...

Utilizing jQuery Validate to individually verify different sections of a form

I am currently exploring how to integrate jQuery validate into my questionnaire form. The form is divided into sections (divs) that are hidden and revealed using jQuery for a cleaner layout. My goal is to validate one section or specific fields at a time b ...

React's sanitizer has refused these fonts

I've encountered font issues on my page while using react. Previously, everything was working fine but now I'm seeing the following error in the console. Attempted solutions like running npm audit --force (something along those lines). Addition ...

Alignment of Bootstrap thumbnails in a horizontal layout

After adding the thumbnail class to my thumbnails div, I noticed that some of the thumbnails were smaller in size than others. Wanting them all to have the same height, I decided to give each thumbnail a fixed height of 210px. However, this caused the sm ...

Eliminating the appearance of horizontal scroll bar by employing transform scale to zoom out

When you run the code provided in the link below and scale down the HTML to 50% while increasing the width to fit the window, a scrollbar becomes visible. This only occurs in Chrome and not in Firefox. Click here The content of the DOM can be modified and ...

The transformation rotation applied in CSS must not have any impact on the styling of my span and paragraph

Snippet: .details-section{ background-color: rgb(83, 83, 83); height: 200px; } .icon-container{ border: 2px solid #c49b63; width: 90px; height: 90px; transition: 0.5s ease; } .box i{ font-size: 60px; color: black; margin-top: 13px ...

Guide on implementing List.JS in Vue with the help of Axios

I am familiar with List.JS and have successfully used it in the past. However, this time I am facing a challenge while trying to integrate it with Vue.JS for rendering a list from JSON data. There is a button at the top of the page that should, when click ...

Tips for patiently waiting for an axios request to finish

Within my vuejs application, I am faced with the challenge of initializing an object using data retrieved from an ajax call: let settings = {} api.readConfig().then((config) => { settings = { userStore: new Oidc.WebStorageStateStore(), author ...

What are some tips for integrating Vueform Multiselect with Tailwind?

After reviewing the documentation for VueForm Multiselect, I came across a statement that mentions the need to import images into Tailwind and then incorporate the theme into your component. Although this provides some guidance, it falls short on explaini ...

How to customize field appearance in Django authentication login view by adding a CSS class

I recently started working with Django and came across Django forms when using the django.contrib.auth.views.login view for user authentication. However, I'm struggling to figure out how to add a CSS class to the username and password fields. The doc ...

Passing only certain arguments to a function while omitting others without explicitly declaring null values

Using Vue 3 and composable files for sharing functions across my entire app has been a great help. One of my composable files, usePluck.js, is structured like this: import { api } from 'boot/axios' export default function usePlucks() { const p ...

What is the process for installing vue-cli?

I'm currently diving into the world of Node Package Manager and Vue, trying to wrap my head around the Vue CLI. On the vue.js website, they provide instructions for running the official Vue CLI: https://i.stack.imgur.com/0OCrc.png I have a few inqu ...

What is the best way to align two bootstrap buttons next to each other?

Is there a way to align buttons on a modal side by side? One button is a download link and the other a mirror link. I attempted to use a custom class with CSS property "display: inline-block;" but it did not work as expected. Any suggestions on how to achi ...

unable to properly display application.html.erb

I am encountering difficulties in rendering my application.html.erb template as I am receiving the following error message: ActionView::SyntaxErrorInTemplate within ApplicationController#home app/views/layouts/application.HTML.erb:10: syntax error, unexpec ...

How to set a background image using a lengthy URL in CSS

I am attempting to add a background image through a URL, but the image is not showing up. Here is the code I am using: <div style="background-image:url(https://i.amz.mshcdn.com/pr8NZRyZf0Kmz4FSGMkLtxUwZ70=/575x323/filters:qual ...

Is there a way to cross-reference a city obtained from geolocation with the cities stored in my database, and if a match is found, send the corresponding ID

Here's the script I'm currently working with: <script type="text/javascript"> search = new Vue({ el: '#offers', data: { data: [], authType: '{{uid}}', key : '1', wi ...

Struggling to create a dynamic design for a nested column using bootstrap

After creating a layout in Figma, I have set up a grid structure as follows: <div class="container-fluid"> <div class="row" id="sobre-nos-wrapper"> <div class="col"> <div class="row"> <div class="col ...

Comparing the Absolute anchor tag to the anchor tag with an absolute span

I have come across two methods for extending a link over a card, container, div, or any other element in order to make the entire area clickable. The first approach involves positioning the <a> tag as an absolute element. The second method keeps th ...

What is the method for implementing a personalized width for table headers with bootstrap/css?

I am facing an issue with applying custom width to each header of a table in my html. Despite having bootstrap4 integrated, the custom widths are not being applied. Below is the complete HTML code for the table: <div class="row"> <div class= ...

Is there a way to disable a JavaScript hover effect when the mouse moves away?

I came across this JavaScript code that swaps the background of a parent div when clicking on a link in a child div. However, I noticed that the hover state remains even after moving the mouse out of the link. Can someone help me modify the code so that ...