mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed paddings on lab tabs
This commit is contained in:
parent
c0c3b3af6a
commit
7a6a44cccf
2 changed files with 4 additions and 3 deletions
|
@ -19,10 +19,10 @@ interface IProps {
|
|||
const LabHeadItem: FC<IProps> = ({ icon, color, children, isLoading, active, onClick }) => {
|
||||
if (isLoading) {
|
||||
return (
|
||||
<Group horizontal className={styles.item} key="loading">
|
||||
<div className={styles.item} key="loading">
|
||||
<Placeholder width="32px" height={32} />
|
||||
<Placeholder width="96px" height={18} />
|
||||
</Group>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
.item {
|
||||
flex: 0 0 auto;
|
||||
padding: $gap * 0.5 $gap * 1.5 $gap * 0.5 $gap;
|
||||
padding: $gap * 0.5 $gap * 4 $gap * 0.5 $gap;
|
||||
fill: currentColor;
|
||||
color: darken(white, 50%);
|
||||
transition: color 0.25s;
|
||||
|
@ -45,6 +45,7 @@
|
|||
text-transform: uppercase;
|
||||
padding-bottom: 1px;
|
||||
padding-left: $gap * 0.75;
|
||||
padding-right: $gap * 0.35;
|
||||
|
||||
@include tablet {
|
||||
padding-top: $gap * 0.5;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue