Skip to content

Commit 12b4d43

Browse files
author
Manu
committed
- popovers
- run prettier
1 parent bc64292 commit 12b4d43

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

src/views/index-sections/Javascript.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function Javascript() {
113113
On left
114114
</Button>
115115
<UncontrolledPopover
116-
placement="left"
116+
placement={window.innerWidth < 768 ? "top" : "left"}
117117
target="tooltip175489643"
118118
className="popover-primary"
119119
>
@@ -144,7 +144,10 @@ function Javascript() {
144144
>
145145
On right
146146
</Button>
147-
<UncontrolledPopover placement="right" target="tooltip966745638">
147+
<UncontrolledPopover
148+
placement={window.innerWidth < 768 ? "bottom" : "right"}
149+
target="tooltip966745638"
150+
>
148151
<PopoverHeader>Popover on Right</PopoverHeader>
149152
<PopoverBody>
150153
Here will be some very useful information about his popover.

src/views/index-sections/NucleoIcons.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ function NucleoIcons() {
1313
<Col lg="6" md="12">
1414
<h2 className="title">Nucleo Icons</h2>
1515
<h5 className="description">
16-
Now UI Kit comes with 100 custom icons made by our friends
17-
from NucleoApp. The official package contains over 2.100 thin
18-
icons which are looking great in combination with Now UI Kit PRO
19-
Make sure you check all of them and use those that you like the
20-
most.
16+
Now UI Kit comes with 100 custom icons made by our friends from
17+
NucleoApp. The official package contains over 2.100 thin icons
18+
which are looking great in combination with Now UI Kit PRO Make
19+
sure you check all of them and use those that you like the most.
2120
</h5>
2221
<Button
2322
className="btn-round mr-1"

0 commit comments

Comments
 (0)