Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

Commit d34c421

Browse files
authored
Style updates (#27)
1 parent fe0165e commit d34c421

File tree

5 files changed

+22
-5
lines changed

5 files changed

+22
-5
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
All notable changes to this project will be documented here.
44

5+
<a name="4.0.2"></a>
6+
## [4.0.2](https://github.com/rawilk/vue-context/releases/tag/4.0.2)
7+
8+
Released 2019-06-22
9+
10+
### Bug Fixes 4.0.2
11+
- Fix menu item width issues ([#26](https://github.com/rawilk/vue-context/issues/26)).
12+
- Remove outline from menu and menu items when given focus ([#26](https://github.com/rawilk/vue-context/issues/26)).
13+
514
<a name="4.0.1"></a>
615
## [4.0.1](https://github.com/rawilk/vue-context/releases/tag/4.0.1)
716

dist/js/vue-context.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-context",
3-
"version": "4.0.1",
3+
"version": "4.0.2",
44
"description": "A simple vue context menu component.",
55
"main": "dist/js/vue-context.js",
66
"scripts": {

src/sass/vue-context.scss

+10-2
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
z-index: 1500;
1414
position: fixed;
1515
list-style: none;
16+
box-sizing: border-box;
1617

1718
> li {
1819
margin: 0;
1920

2021
> a {
2122
display: block;
22-
width: 100%;
23-
padding: .50rem 1.5rem;
23+
padding: .5rem 1.5rem;
2424
font-weight: 400;
2525
color: $item-color;
2626
text-decoration: none;
@@ -34,6 +34,14 @@
3434
color: $item-hover-color;
3535
background-color: $item-hover-bg;
3636
}
37+
38+
&:focus {
39+
outline: 0;
40+
}
3741
}
3842
}
43+
44+
&:focus {
45+
outline: 0;
46+
}
3947
}

0 commit comments

Comments
 (0)