feat: remove width limits to app title
This commit is contained in:
parent
51ad2ca9c5
commit
1938bdd8d2
2 changed files with 1 additions and 8 deletions
|
|
@ -1,18 +1,13 @@
|
||||||
// @ts-check
|
|
||||||
// forked from https://github.com/elk-zone/elk/blob/main/scripts/release.ts
|
// forked from https://github.com/elk-zone/elk/blob/main/scripts/release.ts
|
||||||
|
|
||||||
import {simpleGit, } from 'simple-git'
|
import {simpleGit, } from 'simple-git'
|
||||||
|
|
||||||
|
|
||||||
const git = simpleGit()
|
const git = simpleGit()
|
||||||
|
|
||||||
const hash = await git.revparse(['main'])
|
const hash = await git.revparse(['main'])
|
||||||
|
|
||||||
console.log('Fetch remote gh repo')
|
console.log('Fetch remote gh repo')
|
||||||
await git.fetch('gh')
|
await git.fetch('gh')
|
||||||
|
|
||||||
console.log('Checkout release branch')
|
console.log('Checkout release branch')
|
||||||
//git checkout -b release --track gh/release
|
|
||||||
await git.checkout(['-b', 'release', '--track', 'gh/release'])
|
await git.checkout(['-b', 'release', '--track', 'gh/release'])
|
||||||
|
|
||||||
console.log(`Reset to main branch (${hash})`)
|
console.log(`Reset to main branch (${hash})`)
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import {
|
||||||
LoggerService,
|
LoggerService,
|
||||||
StorageService,
|
StorageService,
|
||||||
TimerService
|
TimerService
|
||||||
} from './modules'
|
} from './modules/index.js'
|
||||||
import { levels } from './levels.js'
|
import { levels } from './levels.js'
|
||||||
|
|
||||||
import * as pkg from '../package.json'
|
import * as pkg from '../package.json'
|
||||||
|
|
@ -270,8 +270,6 @@ export const Minesweeper = function(appId) {
|
||||||
grid.setAttributeNode(gameStatus)
|
grid.setAttributeNode(gameStatus)
|
||||||
|
|
||||||
if (appElement) {
|
if (appElement) {
|
||||||
// appElement.style.minWidth = '260px'
|
|
||||||
// appElement.style.width = `${grid.offsetWidth + 40}px`
|
|
||||||
appElement.style.margin = '0 auto'
|
appElement.style.margin = '0 auto'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue