Skip to content

Commit 1a539d3

Browse files
committed
refactor: improve the layout
1 parent 6dc5a2c commit 1a539d3

39 files changed

+78
-78
lines changed

src/pug/_partials/header.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ header.header.header-sticky.p-0.mb-4
5757
.avatar.avatar-md
5858
img.avatar-img(src="assets/img/avatars/8.jpg" alt="[email protected]")
5959
.dropdown-menu.dropdown-menu-end.pt-0
60-
.dropdown-header.bg-body-tertiary.text-body-secondary.fw-semibold.rounded-top Account
60+
.dropdown-header.bg-body-tertiary.text-body-secondary.fw-semibold.rounded-top.mb-2 Account
6161
a.dropdown-item(href="#")
6262
svg.icon.me-2
6363
use(xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-bell")
@@ -82,7 +82,7 @@ header.header.header-sticky.p-0.mb-4
8282
|
8383
| Comments
8484
span.badge.badge-sm.bg-warning.ms-2 42
85-
.dropdown-header.bg-body-tertiary.text-body-secondary.fw-semibold.bg-body-tertiary
85+
.dropdown-header.bg-body-tertiary.text-body-secondary.fw-semibold.my-2
8686
.fw-semibold Settings
8787
a.dropdown-item(href="#")
8888
svg.icon.me-2

src/views/base/accordion.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
<li class="nav-item dropdown"><a class="nav-link py-0 pe-0" data-coreui-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
254254
<div class="avatar avatar-md"><img class="avatar-img" src="assets/img/avatars/8.jpg" alt="[email protected]"></div></a>
255255
<div class="dropdown-menu dropdown-menu-end pt-0">
256-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top">Account</div><a class="dropdown-item" href="#">
256+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top mb-2">Account</div><a class="dropdown-item" href="#">
257257
<svg class="icon me-2">
258258
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-bell"></use>
259259
</svg> Updates<span class="badge badge-sm bg-info ms-2">42</span></a><a class="dropdown-item" href="#">
@@ -266,7 +266,7 @@
266266
<svg class="icon me-2">
267267
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-comment-square"></use>
268268
</svg> Comments<span class="badge badge-sm bg-warning ms-2">42</span></a>
269-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold bg-body-tertiary">
269+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold my-2">
270270
<div class="fw-semibold">Settings</div>
271271
</div><a class="dropdown-item" href="#">
272272
<svg class="icon me-2">

src/views/base/breadcrumb.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
<li class="nav-item dropdown"><a class="nav-link py-0 pe-0" data-coreui-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
254254
<div class="avatar avatar-md"><img class="avatar-img" src="assets/img/avatars/8.jpg" alt="[email protected]"></div></a>
255255
<div class="dropdown-menu dropdown-menu-end pt-0">
256-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top">Account</div><a class="dropdown-item" href="#">
256+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top mb-2">Account</div><a class="dropdown-item" href="#">
257257
<svg class="icon me-2">
258258
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-bell"></use>
259259
</svg> Updates<span class="badge badge-sm bg-info ms-2">42</span></a><a class="dropdown-item" href="#">
@@ -266,7 +266,7 @@
266266
<svg class="icon me-2">
267267
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-comment-square"></use>
268268
</svg> Comments<span class="badge badge-sm bg-warning ms-2">42</span></a>
269-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold bg-body-tertiary">
269+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold my-2">
270270
<div class="fw-semibold">Settings</div>
271271
</div><a class="dropdown-item" href="#">
272272
<svg class="icon me-2">

src/views/base/cards.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
<li class="nav-item dropdown"><a class="nav-link py-0 pe-0" data-coreui-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
254254
<div class="avatar avatar-md"><img class="avatar-img" src="assets/img/avatars/8.jpg" alt="[email protected]"></div></a>
255255
<div class="dropdown-menu dropdown-menu-end pt-0">
256-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top">Account</div><a class="dropdown-item" href="#">
256+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top mb-2">Account</div><a class="dropdown-item" href="#">
257257
<svg class="icon me-2">
258258
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-bell"></use>
259259
</svg> Updates<span class="badge badge-sm bg-info ms-2">42</span></a><a class="dropdown-item" href="#">
@@ -266,7 +266,7 @@
266266
<svg class="icon me-2">
267267
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-comment-square"></use>
268268
</svg> Comments<span class="badge badge-sm bg-warning ms-2">42</span></a>
269-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold bg-body-tertiary">
269+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold my-2">
270270
<div class="fw-semibold">Settings</div>
271271
</div><a class="dropdown-item" href="#">
272272
<svg class="icon me-2">

src/views/base/carousel.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
<li class="nav-item dropdown"><a class="nav-link py-0 pe-0" data-coreui-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
254254
<div class="avatar avatar-md"><img class="avatar-img" src="assets/img/avatars/8.jpg" alt="[email protected]"></div></a>
255255
<div class="dropdown-menu dropdown-menu-end pt-0">
256-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top">Account</div><a class="dropdown-item" href="#">
256+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top mb-2">Account</div><a class="dropdown-item" href="#">
257257
<svg class="icon me-2">
258258
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-bell"></use>
259259
</svg> Updates<span class="badge badge-sm bg-info ms-2">42</span></a><a class="dropdown-item" href="#">
@@ -266,7 +266,7 @@
266266
<svg class="icon me-2">
267267
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-comment-square"></use>
268268
</svg> Comments<span class="badge badge-sm bg-warning ms-2">42</span></a>
269-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold bg-body-tertiary">
269+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold my-2">
270270
<div class="fw-semibold">Settings</div>
271271
</div><a class="dropdown-item" href="#">
272272
<svg class="icon me-2">

src/views/base/collapse.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
<li class="nav-item dropdown"><a class="nav-link py-0 pe-0" data-coreui-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
254254
<div class="avatar avatar-md"><img class="avatar-img" src="assets/img/avatars/8.jpg" alt="[email protected]"></div></a>
255255
<div class="dropdown-menu dropdown-menu-end pt-0">
256-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top">Account</div><a class="dropdown-item" href="#">
256+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top mb-2">Account</div><a class="dropdown-item" href="#">
257257
<svg class="icon me-2">
258258
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-bell"></use>
259259
</svg> Updates<span class="badge badge-sm bg-info ms-2">42</span></a><a class="dropdown-item" href="#">
@@ -266,7 +266,7 @@
266266
<svg class="icon me-2">
267267
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-comment-square"></use>
268268
</svg> Comments<span class="badge badge-sm bg-warning ms-2">42</span></a>
269-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold bg-body-tertiary">
269+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold my-2">
270270
<div class="fw-semibold">Settings</div>
271271
</div><a class="dropdown-item" href="#">
272272
<svg class="icon me-2">

src/views/base/list-group.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
<li class="nav-item dropdown"><a class="nav-link py-0 pe-0" data-coreui-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
254254
<div class="avatar avatar-md"><img class="avatar-img" src="assets/img/avatars/8.jpg" alt="[email protected]"></div></a>
255255
<div class="dropdown-menu dropdown-menu-end pt-0">
256-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top">Account</div><a class="dropdown-item" href="#">
256+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top mb-2">Account</div><a class="dropdown-item" href="#">
257257
<svg class="icon me-2">
258258
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-bell"></use>
259259
</svg> Updates<span class="badge badge-sm bg-info ms-2">42</span></a><a class="dropdown-item" href="#">
@@ -266,7 +266,7 @@
266266
<svg class="icon me-2">
267267
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-comment-square"></use>
268268
</svg> Comments<span class="badge badge-sm bg-warning ms-2">42</span></a>
269-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold bg-body-tertiary">
269+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold my-2">
270270
<div class="fw-semibold">Settings</div>
271271
</div><a class="dropdown-item" href="#">
272272
<svg class="icon me-2">

src/views/base/navs-tabs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
<li class="nav-item dropdown"><a class="nav-link py-0 pe-0" data-coreui-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
254254
<div class="avatar avatar-md"><img class="avatar-img" src="assets/img/avatars/8.jpg" alt="[email protected]"></div></a>
255255
<div class="dropdown-menu dropdown-menu-end pt-0">
256-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top">Account</div><a class="dropdown-item" href="#">
256+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top mb-2">Account</div><a class="dropdown-item" href="#">
257257
<svg class="icon me-2">
258258
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-bell"></use>
259259
</svg> Updates<span class="badge badge-sm bg-info ms-2">42</span></a><a class="dropdown-item" href="#">
@@ -266,7 +266,7 @@
266266
<svg class="icon me-2">
267267
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-comment-square"></use>
268268
</svg> Comments<span class="badge badge-sm bg-warning ms-2">42</span></a>
269-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold bg-body-tertiary">
269+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold my-2">
270270
<div class="fw-semibold">Settings</div>
271271
</div><a class="dropdown-item" href="#">
272272
<svg class="icon me-2">

src/views/base/pagination.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
<li class="nav-item dropdown"><a class="nav-link py-0 pe-0" data-coreui-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
254254
<div class="avatar avatar-md"><img class="avatar-img" src="assets/img/avatars/8.jpg" alt="[email protected]"></div></a>
255255
<div class="dropdown-menu dropdown-menu-end pt-0">
256-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top">Account</div><a class="dropdown-item" href="#">
256+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top mb-2">Account</div><a class="dropdown-item" href="#">
257257
<svg class="icon me-2">
258258
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-bell"></use>
259259
</svg> Updates<span class="badge badge-sm bg-info ms-2">42</span></a><a class="dropdown-item" href="#">
@@ -266,7 +266,7 @@
266266
<svg class="icon me-2">
267267
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-comment-square"></use>
268268
</svg> Comments<span class="badge badge-sm bg-warning ms-2">42</span></a>
269-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold bg-body-tertiary">
269+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold my-2">
270270
<div class="fw-semibold">Settings</div>
271271
</div><a class="dropdown-item" href="#">
272272
<svg class="icon me-2">

src/views/base/placeholders.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
<li class="nav-item dropdown"><a class="nav-link py-0 pe-0" data-coreui-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
254254
<div class="avatar avatar-md"><img class="avatar-img" src="assets/img/avatars/8.jpg" alt="[email protected]"></div></a>
255255
<div class="dropdown-menu dropdown-menu-end pt-0">
256-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top">Account</div><a class="dropdown-item" href="#">
256+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold rounded-top mb-2">Account</div><a class="dropdown-item" href="#">
257257
<svg class="icon me-2">
258258
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-bell"></use>
259259
</svg> Updates<span class="badge badge-sm bg-info ms-2">42</span></a><a class="dropdown-item" href="#">
@@ -266,7 +266,7 @@
266266
<svg class="icon me-2">
267267
<use xlink:href="node_modules/@coreui/icons/sprites/free.svg#cil-comment-square"></use>
268268
</svg> Comments<span class="badge badge-sm bg-warning ms-2">42</span></a>
269-
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold bg-body-tertiary">
269+
<div class="dropdown-header bg-body-tertiary text-body-secondary fw-semibold my-2">
270270
<div class="fw-semibold">Settings</div>
271271
</div><a class="dropdown-item" href="#">
272272
<svg class="icon me-2">

0 commit comments

Comments
 (0)