2
0
mirror of https://github.com/tenrok/vue-context.git synced 2026-06-22 23:50:32 +03:00

Style updates (#27)

This commit is contained in:
Randall Wilk
2019-06-22 10:09:45 -05:00
committed by GitHub
parent fe0165eb6a
commit d34c421a8e
5 changed files with 22 additions and 5 deletions
+9
View File
@@ -2,6 +2,15 @@
All notable changes to this project will be documented here. All notable changes to this project will be documented here.
<a name="4.0.2"></a>
## [4.0.2](https://github.com/rawilk/vue-context/releases/tag/4.0.2)
Released 2019-06-22
### Bug Fixes 4.0.2
- Fix menu item width issues ([#26](https://github.com/rawilk/vue-context/issues/26)).
- Remove outline from menu and menu items when given focus ([#26](https://github.com/rawilk/vue-context/issues/26)).
<a name="4.0.1"></a> <a name="4.0.1"></a>
## [4.0.1](https://github.com/rawilk/vue-context/releases/tag/4.0.1) ## [4.0.1](https://github.com/rawilk/vue-context/releases/tag/4.0.1)
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "vue-context", "name": "vue-context",
"version": "4.0.1", "version": "4.0.2",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "vue-context", "name": "vue-context",
"version": "4.0.1", "version": "4.0.2",
"description": "A simple vue context menu component.", "description": "A simple vue context menu component.",
"main": "dist/js/vue-context.js", "main": "dist/js/vue-context.js",
"scripts": { "scripts": {
+10 -2
View File
@@ -13,14 +13,14 @@
z-index: 1500; z-index: 1500;
position: fixed; position: fixed;
list-style: none; list-style: none;
box-sizing: border-box;
> li { > li {
margin: 0; margin: 0;
> a { > a {
display: block; display: block;
width: 100%; padding: .5rem 1.5rem;
padding: .50rem 1.5rem;
font-weight: 400; font-weight: 400;
color: $item-color; color: $item-color;
text-decoration: none; text-decoration: none;
@@ -34,6 +34,14 @@
color: $item-hover-color; color: $item-hover-color;
background-color: $item-hover-bg; background-color: $item-hover-bg;
} }
&:focus {
outline: 0;
}
} }
} }
&:focus {
outline: 0;
}
} }