Changeset dba0ae9 in OpenWorkouts-current


Ignore:
Timestamp:
Sep 28, 2019, 10:22:41 AM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current
Children:
fcf0ef3
Parents:
c081c35
Message:

Fixed broken "add workouts" submenu
(at least for computers, we still have the problem in mobile devices
described in ticket #70)

Location:
ow/static
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ow/static/css/main.css

    rc081c35 rdba0ae9  
    863863}
    864864.add-workout:hover ul {
    865   display: inline-block;
     865  /* This fixes some problems in the "add workout" submenu,
     866             where some elements appeared without full width and on wrong
     867             positioning */
     868  display: flex;
     869}
     870.add-workout:hover ul li {
     871  width: 100%;
     872  text-align: center;
    866873}
    867874.add-workout ul {
  • ow/static/less/modules/header.less

    rc081c35 rdba0ae9  
    186186        }
    187187        ul{
    188             display: inline-block;
     188            /* This fixes some problems in the "add workout" submenu,
     189             where some elements appeared without full width and on wrong
     190             positioning */
     191            display: flex;
     192            li {
     193                width: 100%;
     194                text-align: center;
     195            }
    189196        }
    190197    }
Note: See TracChangeset for help on using the changeset viewer.