Updated icons with height

Fixes issues within IE
This commit is contained in:
Dan Brown 2018-03-25 15:52:48 +01:00
parent 23f90ed6b4
commit 4f788384f0
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
6 changed files with 5 additions and 2 deletions

View file

@ -158,6 +158,7 @@ $button-border-radius: 2px;
left: $-m; left: $-m;
top: $-s - 2px; top: $-s - 2px;
width: 24px; width: 24px;
height: 24px;
} }
padding: $-s $-m; padding: $-s $-m;
padding-bottom: $-s - 2px; padding-bottom: $-s - 2px;

View file

@ -23,6 +23,7 @@
svg { svg {
fill: #EEEEEE; fill: #EEEEEE;
width: 4em; width: 4em;
height: 4em;
padding-right: $-m; padding-right: $-m;
} }
span { span {

View file

@ -424,6 +424,7 @@ i {
.svg-icon { .svg-icon {
width: 1em; width: 1em;
height: 1em;
display: inline-block; display: inline-block;
position: relative; position: relative;
bottom: -0.105em; bottom: -0.105em;

View file

@ -118,6 +118,7 @@ $btt-size: 40px;
fill: #FFF; fill: #FFF;
svg { svg {
width: $btt-size / 1.5; width: $btt-size / 1.5;
height: $btt-size / 1.5;
margin-right: 4px; margin-right: 4px;
} }
width: $btt-size; width: $btt-size;

View file

@ -14,7 +14,6 @@
<link rel="stylesheet" media="print" href="{{ versioned_asset('dist/print-styles.css') }}"> <link rel="stylesheet" media="print" href="{{ versioned_asset('dist/print-styles.css') }}">
<!-- Scripts --> <!-- Scripts -->
<script src="{{ baseUrl("/libs/jquery/jquery.min.js?version=2.1.4") }}"></script>
@include('partials/custom-styles') @include('partials/custom-styles')
<!-- Custom user content --> <!-- Custom user content -->

View file

@ -65,7 +65,7 @@
<div class="row"> <div class="row">
@foreach($activeSocialDrivers as $driver => $enabled) @foreach($activeSocialDrivers as $driver => $enabled)
<div class="col-sm-4 col-xs-6 text-center"> <div class="col-sm-4 col-xs-6 text-center">
<div>@icon('auth/'. $driver, ['style' => 'width: 56px;'])</div> <div>@icon('auth/'. $driver, ['style' => 'width: 56px;height: 56px;'])</div>
<div> <div>
@if($user->hasSocialAccount($driver)) @if($user->hasSocialAccount($driver))
<a href="{{ baseUrl("/login/service/{$driver}/detach") }}" class="button neg">{{ trans('settings.users_social_disconnect') }}</a> <a href="{{ baseUrl("/login/service/{$driver}/detach") }}" class="button neg">{{ trans('settings.users_social_disconnect') }}</a>