imbric-theme 0.6.5 → 0.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,13 +32,15 @@
32
32
 
33
33
  .tdacctionIcons {
34
34
  text-align: right;
35
- width: max-content;
35
+ inline-size: max-content;
36
+ display: inline-flex;
37
+ /* width: max-content;
36
38
  inline-size: max-content;
37
39
  height: max-content;
38
40
  block-size: max-content;
39
41
  display: block;
40
42
  float: right;
41
- min-width: 100%
43
+ min-width: 100% */
42
44
  }
43
45
 
44
46
  .tr-content:hover {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imbric-theme",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "Components library IMBRIC",
5
5
  "private": false,
6
6
  "main": "index.js",
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react'
2
2
  import PropTypes from 'prop-types'
3
-
3
+ import { useRouter } from 'next/router'
4
4
  import styles from './Login.module.css'
5
5
  import { options } from './constants'
6
6
  import withStyles from '../../hocs/withStyles'
@@ -17,7 +17,7 @@ import { loginSchema } from './validation/loginSchema'
17
17
  export const Login = ({ children, getStyles }) => {
18
18
 
19
19
 
20
-
20
+ const router = useRouter()
21
21
  // const [formValues, setFormValues] = useState({})
22
22
 
23
23
  // const onChange = (key) => (event) => {
@@ -34,7 +34,7 @@ export const Login = ({ children, getStyles }) => {
34
34
  <CenteredContent >
35
35
 
36
36
  <Picture
37
- src="./static/logologin.svg"
37
+ src={router.basePath + "/static/logologin.svg"}
38
38
  width={170}
39
39
  />
40
40