-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Catalog's visibility columns menu -> Empty title for Icon #4189
Changes from 3 commits
7441a11
6476516
de6764a
cef043d
ba7f8e7
c164c3b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,43 +19,45 @@ | |
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
*/ | ||
|
||
.list :global(.TableRow) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of all these changes, wouldn't it just have been easier to use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No. Because otherwise it' requires other hacks to hide text "Icon" in the header column or if we leave it empty as result we have empty menu-item for the table. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
.entityName { | ||
position: relative; | ||
width: min-content; | ||
max-width: 100%; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
padding-right: 24px; | ||
|
||
.pinIcon { | ||
position: absolute; | ||
right: 0; | ||
opacity: 0; | ||
transition: none; | ||
|
||
&:hover { | ||
/* Drop styles defined for <Icon/> */ | ||
background-color: transparent; | ||
box-shadow: none; | ||
} | ||
.Catalog {} | ||
aleksfront marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
.entityName { | ||
position: relative; | ||
width: min-content; | ||
max-width: 100%; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
padding-right: 24px; | ||
|
||
.pinIcon { | ||
position: absolute; | ||
right: 0; | ||
opacity: 0; | ||
transition: none; | ||
|
||
&:hover { | ||
/* Drop styles defined for <Icon/> */ | ||
background-color: transparent; | ||
box-shadow: none; | ||
} | ||
} | ||
|
||
&:hover .pinIcon { | ||
opacity: 1; | ||
} | ||
} | ||
|
||
.iconCell { | ||
@apply flex items-center max-w-[40px]; | ||
} | ||
padding-top: calc(var(--padding) / 2); | ||
flex: 0 0 40px !important; | ||
|
||
.iconCell > div * { | ||
font-size: var(--unit); | ||
} | ||
:global(.content) { | ||
display: none; /* hide "Icon" text in the header */ | ||
} | ||
|
||
div * { | ||
font-size: var(--unit); /* icon's with plain text */ | ||
} | ||
|
||
.nameCell { | ||
:global(.Icon) { | ||
font-size: var(--small-size) !important; | ||
} | ||
} | ||
|
||
.sourceCell { | ||
|
@@ -64,14 +66,16 @@ | |
|
||
.statusCell { | ||
max-width: 100px; | ||
} | ||
|
||
.connected, .available { | ||
color: var(--colorSuccess); | ||
} | ||
:global { | ||
.connected, .available { | ||
color: var(--colorSuccess); | ||
} | ||
|
||
.disconnected, .deleting, .unavailable { | ||
color: var(--halfGray); | ||
.disconnected, .deleting, .unavailable { | ||
color: var(--halfGray); | ||
} | ||
} | ||
} | ||
|
||
.labelsCell { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To support css-classes auto-completion use vscode-css-modules plugin.