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

Fixed example to use box-shadow instead of border #19

Merged
merged 1 commit into from
Mar 7, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions example/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ a {
padding: 2px;
z-index: 1;
color: transparent;
white-space: pre-wrap; }
white-space: pre-wrap;
border: 1px solid transparent;
width: 100%; }
.mention-highlight span {
padding: 0 2px;
border-radius: 3px;
background: lightblue;
border: 1px solid blue;
margin: -1px -3px; }
box-shadow: 0px 0px 0px 1px blue; }

.dropdown {
position: absolute;
Expand Down
6 changes: 3 additions & 3 deletions example/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ a {
z-index: 1;
color: rgba(0,0,0,0);
white-space: pre-wrap;
border: 1px solid rgba(0,0,0,0);
width: 100%;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are these doing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is so the rendered container matches the border of the textbox
On Mar 6, 2016 2:44 PM, "Dean Sofer" [email protected] wrote:

In example/styles.scss
#19 (comment):

@@ -51,13 +51,13 @@ a {
z-index: 1;
color: rgba(0,0,0,0);
white-space: pre-wrap;

  • border: 1px solid rgba(0,0,0,0);
  • width: 100%;

What are these doing?


Reply to this email directly or view it on GitHub
https://github.com/angular-ui/ui-mention/pull/19/files#r55150211.


span {
padding: 0 2px;
border-radius: 3px;
background: lightblue;
border: 1px solid blue;
margin: -1px -3px;
box-shadow: 0px 0px 0px 1px blue;
}
}

Expand Down