Skip to content

Using tabs with colors underlines all tab sections #791

Open
@nip1904

Description

@nip1904

Introduction

When I use the tab component and add colors to the tab. All tabs are underlined and so setting active/inactive is not possible.

To Reproduce

List of steps to reproduce the behavior. Include the sql file you are using and the eventual relevant parts of your database schema

select
   'tab'             as component;
select 
   'calendar-week'   as icon,
   '2023'            as title;
select   
   'calendar-week'   as icon,
   '2024'            as title,
   TRUE              as active;
select 
   'calendar-week'   as icon,
   '2025'            as title;
--
select
   'tab'             as component;
select 
   'calendar-week'   as icon,
   'red'             as color,
   '2023'            as title;
select   
   'calendar-week'   as icon,
   '2024'            as title,
   'green'           as color,
   TRUE              as active;
select 
   'calendar-week'   as icon,
   'yellow'          as color,
   '2025'            as title;

Actual behavior

After following these steps, what happened ?
If you saw an error on the command line or inside your page, then paste it here

your error message here

Screenshots

If applicable, add screenshots to help explain your problem.

Image

Expected behavior

A clear and concise description of what you expected to happen.

Version information

  • OS:
  • Database [e.g. SQLite, Postgres]
  • SQLPage Version [found when hovering the default footer of pages]:

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions