[Bug] Fix icon alignment in buttons (#360)
* Fix icon alignment in buttons * Fix ordering
This commit is contained in:
@@ -41,11 +41,6 @@ body {
|
|||||||
.content-box {
|
.content-box {
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
@include padding($space-normal);
|
@include padding($space-normal);
|
||||||
.btn-fixed-right-top {
|
|
||||||
position: fixed;
|
|
||||||
top: $space-small;
|
|
||||||
right: $space-small;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.back-button {
|
.back-button {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
padding-right: $space-normal;
|
padding-right: $space-normal;
|
||||||
|
|
||||||
i {
|
i {
|
||||||
padding-right: $space-one;
|
padding-right: $space-small;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -25,7 +25,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
> .icon {
|
> .icon {
|
||||||
font-size: $font-size-mini;
|
font-size: $font-size-default;
|
||||||
margin-right: $space-smaller;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.button--fixed-right-top {
|
||||||
|
position: fixed;
|
||||||
|
right: $space-small;
|
||||||
|
top: $space-small;
|
||||||
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<router-link
|
<router-link
|
||||||
v-if="showNewButton && showButton && currentRole"
|
v-if="showNewButton && showButton && currentRole"
|
||||||
:to="buttonRoute"
|
:to="buttonRoute"
|
||||||
class="button icon success nice"
|
class="button icon success nice button--fixed-right-top"
|
||||||
>
|
>
|
||||||
<i class="icon ion-android-add-circle"></i>
|
<i class="icon ion-android-add-circle"></i>
|
||||||
{{ buttonText }}
|
{{ buttonText }}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="column content-box">
|
<div class="column content-box">
|
||||||
<button
|
<button
|
||||||
class="button nice icon success btn-fixed-right-top"
|
class="button nice icon success button--fixed-right-top"
|
||||||
@click="openAddPopup()"
|
@click="openAddPopup()"
|
||||||
>
|
>
|
||||||
<i class="icon ion-android-add-circle"></i>
|
<i class="icon ion-android-add-circle"></i>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="column content-box">
|
<div class="column content-box">
|
||||||
<button
|
<button
|
||||||
class="button nice icon success btn-fixed-right-top"
|
class="button nice icon success button--fixed-right-top"
|
||||||
@click="openAddPopup()"
|
@click="openAddPopup()"
|
||||||
>
|
>
|
||||||
<i class="icon ion-android-add-circle"></i>
|
<i class="icon ion-android-add-circle"></i>
|
||||||
|
|||||||
Reference in New Issue
Block a user