Skip to content
This repository was archived by the owner on Apr 7, 2020. It is now read-only.

Commit eb365a9

Browse files
author
Hanam Do
committed
Fixed example to use box-shadow instead of border
1 parent 8f55136 commit eb365a9

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

example/styles.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ a {
4040
padding: 2px;
4141
z-index: 1;
4242
color: transparent;
43-
white-space: pre-wrap; }
43+
white-space: pre-wrap;
44+
border: 1px solid transparent;
45+
width: 100%; }
4446
.mention-highlight span {
45-
padding: 0 2px;
4647
border-radius: 3px;
4748
background: lightblue;
48-
border: 1px solid blue;
49-
margin: -1px -3px; }
49+
box-shadow: 0px 0px 0px 1px blue; }
5050

5151
.dropdown {
5252
position: absolute;

example/styles.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ a {
5151
z-index: 1;
5252
color: rgba(0,0,0,0);
5353
white-space: pre-wrap;
54+
border: 1px solid rgba(0,0,0,0);
55+
width: 100%;
5456

5557
span {
56-
padding: 0 2px;
5758
border-radius: 3px;
5859
background: lightblue;
59-
border: 1px solid blue;
60-
margin: -1px -3px;
60+
box-shadow: 0px 0px 0px 1px blue;
6161
}
6262
}
6363

0 commit comments

Comments
 (0)