Skip to content

Commit 39128d7

Browse files
committed
fix: TT-370 corrections css using tailwind
1 parent 7b3ed11 commit 39128d7

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

src/app/modules/shared/components/sidebar/sidebar.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ <h1 class="pl-2 pt-2" style="font-family:spinnaker,sans-serif">ioet</h1>
1717
<em class="{{ item.icon }}"></em>
1818
<h3 class="font-poppins text-base ml-4 pl-3 -mt-6 text-left" >{{ item.text }}</h3>
1919
</a>
20-
<div id="btn-bottom" class="bg-whiteTW pt-2 pr-24 absolute bottom-1 dark:bg-grayTW-dark">
20+
<div class="bg-whiteTW pt-2 absolute bottom-4 dark:bg-grayTW-dark flex justify-center items-center">
2121
<a class="flex pl-4 text-blackTW hover:text-grayTW dark:text-whiteTW" href="#">
2222
<em class="fas fa-sign-out-alt"></em>
23-
<span class="font-poppins pl-3 font-medium -mt-1 dark:text-whiteTW" (click)="logout()">Sign out</span>
23+
<span class="font-poppins pl-3 font-medium dark:text-whiteTW" (click)="logout()">Sign out</span>
2424
</a>
25-
<app-dark-mode id="btn-dark-mode" class="relative left-40"></app-dark-mode>
25+
<app-dark-mode class="ml-4"></app-dark-mode>
2626
</div>
2727
</div>
2828
</div>

src/app/modules/shared/components/sidebar/sidebar.component.scss

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,4 @@ body {
7676
height: -webkit-calc(100vh - 1vh);
7777
height: -o-calc(100vh - 1vh);
7878
height: calc(100vh - 1vh);
79-
}
80-
81-
#btn-dark-mode {
82-
top: -2rem;
83-
}
84-
85-
#btn-bottom {
86-
height: 4%;
87-
}
79+
}

0 commit comments

Comments
 (0)