Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hvangeffen authored and wkramer committed May 24, 2024
1 parent 7cb3c6a commit f396649
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion src/components/table/TableCellEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
v-model="currentItem.flagEdit"
@change="editItem"
>
<option v-for="flagEdit in possibleFlagEdits" :key="flagEdit" :value="flagEdit">
<option
v-for="flagEdit in possibleFlagEdits"
:key="flagEdit"
:value="flagEdit"
>
{{ flagEdit }}
</option>
</select>
Expand Down
6 changes: 3 additions & 3 deletions src/lib/utils/resolveCSSVariable.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* Resolves a CSS variable to its value
* @param {string} cssVariable - The CSS variable to resolve.
* @returns {string} The value of the CSS variable.
*/
* @param {string} cssVariable - The CSS variable to resolve.
* @returns {string} The value of the CSS variable.
*/
export function resolveCSSVariable(cssVariable: string): string {
const property = cssVariable.replace('var(', '').replace(')', '')
return getComputedStyle(document.documentElement).getPropertyValue(property)
Expand Down

0 comments on commit f396649

Please sign in to comment.